Jump to content
  • Advertisement

Archived

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

rocketscientist_69

TEXTURES ARE STRETCHED... PLS HELP!

This topic is 6028 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 am new to directx7 IM and have been writing a game. At the moment i can walk around in it however I am having problems with the textures. The textures appear on the screen as stretched (eg. a 32x32 will be stretched, not tiled, across an entire wall. Please help (urgently).

Share this post


Link to post
Share on other sites
Advertisement
Disclaimer : I''m an OGL user so don''t blame me if it isn''t very precise.

What texture coordinates do you use ? If you set it to (0,0) (1,1) it''s just the normal behavior. Set it to (X, X) to have the texture repeated X times.

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!