Jump to content
  • Advertisement
Sign in to follow this  

Keeping transform matrices in video memory buffers?

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

How significant is the impact of uploading new transform matrices per mesh?

What about, instead, storing all the transform matrices in a uniform or texture buffer? Wouldn't this be the way to go in scenes where many objects are not constantly animating? A downside, though, is that the camera transform cannot be then premultiplied and would have to be multiplied in the vertex shader. Another thing is that I'm not sure how to efficiently specify the index into the buffer for each draw call, even if the mesh sequence is fixed (the trivial way, setting an integer uniform, defeats the point).



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!