Sign in to follow this  
codewild

indexbuffer and texturing

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this