Jump to content
  • Advertisement

Archived

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

David20321

Cube environments

This topic is 6453 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 made a cube environment texture with Bryce that works fine except it makes weird white lines around the edges. I can get rid of these by messing with the texture coords but then it doesnt line up correctly. Anybody know how to fix this? http://members.nbci.com/davidrosen1/Pages/Bug.html/

Share this post


Link to post
Share on other sites
Advertisement
ATI Rage 128, just found the answer though, after binding a texture to each side you add:
glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP );
glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP );

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!