Sign in to follow this  

Repeating part of texture on quads

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

Hi, I've been having this problem for some time now. I'm using DirectX9 and textured quads to display sprites. The problem is: Repeating textures on quads is fairly simple: you set UV > 1.0 and it's done. When you want a part of the texture to be displayed you use UV < 1.0. What if you want to display a part of the texture AND repeat it on a quad? The thing is I have one big texture with lots of tiles. I want to be able to select one tile and draw it repeated on quads. 10 or 100 times. I know I can just draw 10 quads and I'm done. I just wanted to know if this is possible and if yes then how? Thanks for your help!

Share this post


Link to post
Share on other sites

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