Jump to content
  • Advertisement

Archived

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

monkey_face

tiling in d3d

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

Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!