Jump to content
  • Advertisement

Archived

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

_Titan_

Correct Texture Coordinates...

This topic is 6260 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 would just like to give anyone (mostly newbies) a little advice on correct texture coordinates, i spent about an hour playing with my textures and they were inverted-inside out...i dunno how...but hey were...Anyways, here are the correct texture coords for textures that contian text or images that matter how they are positioned glTexCoord2d(0.0,0.0f); glTexCoord2d(1.0,0.0f); glTexCoord2d(1.0,1.0f); glTexCoord2d(0.0,1.0f); This will make things up-right, non backwards non inside out I hope this helps someone cause i always have trouble getting it right.

Share this post


Link to post
Share on other sites
Advertisement

  • 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!