Jump to content
  • Advertisement
Sign in to follow this  
HippyNerd

Accessing texture in vertex shader

This topic is 4893 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

In GLSL, on a card with PS2.0 support only (x800xt). Is it possible to access a texture value from a vertex shader? (as opposed to a fragment shader). (Under GLSL in particular). I get linking errors when I attempt this. I guess usually you don't need texture values in the vertex shader. I was just hoping I use a texture as a lookup table to store some values :-/

Share this post


Link to post
Share on other sites
Advertisement
No, that's a feature of SM 3.0 (ie: only the nvidia 6 series cards can do that for now).

Share this post


Link to post
Share on other sites
cool thanks

oh well back to trying to access values in uniform arrays using a non-constant index...gaaaah why so slow

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!