Archived

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

David20321

Cube environments

Recommended Posts

David20321    122
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
David20321    122
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