Archived

This topic is now archived and is closed to further replies.

monkey_face

tiling in d3d

Recommended Posts

Taharez    203
Setting u and v values larger than 1.0 will give you a tiling effect. So setting coordinates between (0.0,0.0)-(2.0,2.0) for a quad would make the texture repeat twice in each direction.
A little sidenote: you can''t tile part of a texture, so if you''re planning on doing that, you have to either divide the texture or creating more primitives.
Good luck!

Share this post


Link to post
Share on other sites