Jump to content
  • Advertisement
Sign in to follow this  
codewild

indexbuffer and texturing

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

Hello, I wanted to know is there any way to fix problem with indexed buffer and texturing ie. For cube i will need to use only 8 verticles and i'll will have only 8 texture coordinates and texture won't be mapped correctly is there any way to use two texture coordinates for each verticle? Sorry for my bad english.

Share this post


Link to post
Share on other sites
Advertisement
In D3D9: No, the vertices are unique if any component differs, so you need 24 vertices.
In D3D10: Possibly with the geo-shader? I'm not a D3D10 person though so I can't say for sure.

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!