Jump to content
  • Advertisement
Sign in to follow this  

No need for FVF in shaders?

This topic is 4252 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

I recently saw in a book that once you use shaders / effects, you should set the FVF, and VertexDeclaration to NULL. Is it right to belive that you only need to declare the vertexbuffer-structure in the shader/effect-code and then make sure you use a vertesbuffer with a somewhat similar structure? And, if so, can you make a Non-FVF-vertexbuffer and happily send it to a shader without setting any FVF or VertexDeclaration and only use shader to sort the incomming data? // Happy for any help I can get.

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!