Sign in to follow this  

Rotation Texture and Batch Drawing(Texture Atlas)

This topic is 1822 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 have many different texture in a draw call so i use texture atlas

but if i want some of those textures have different rotation,what could i do?

Help! Thanks!

Share this post


Link to post
Share on other sites

This is a really bizarre problem.  Short of just rotating the quad like Irreversible said, maybe you can just apply a rotation matrix to your quad's texture coordinates?

Share this post


Link to post
Share on other sites

Any object that is texture mapped, can be rotated freely, without a slightest change in texture coordinates. That's how it works. Your only ever need to rotate a texture itself is when you want to somewhat animate it on all objects at the same time, without having to change the mapping.

Share this post


Link to post
Share on other sites

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

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