Jump to content
  • Advertisement
Sign in to follow this  
mrheisenberg

Does the tessellator require a 32-bit index buffer for safety reasons?

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

Assuming I use DXGI_FORMAT_R16_UINT and not DXGI_FORMAT_R32_UINT for an index buffer format and an unsigned short array for the indices, I get 65536 vertices for a mesh.Now this is good, because it's not like I would ever bind a mesh that huge, but what if I bind a mesh that has 20000 vertices and I use tessellation to generate new vertices, so the new mesh has 4 times more vertices(80000).Will this be an issue with a 16-bit index buffer?

Share this post


Link to post
Share on other sites
Advertisement

No, it shouldn't cause any issues. The indices in your index buffer will only correspond to control points pre-tessellation, and not the vertices generated between the hull and domain shaders.

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!