Jump to content
  • Advertisement
Sign in to follow this  

No need for FVF in shaders?

This topic is 4334 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!