• Advertisement
Sign in to follow this  

Rotation Texture and Batch Drawing(Texture Atlas)

This topic is 1825 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
Advertisement

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
Sign in to follow this  

  • Advertisement