Advertisement

SkyBox

Started by January 21, 2001 11:38 AM
1 comment, last by encom 23 years, 10 months ago
I Make a sky box with a cube (like quake 2), but i can see the lines of the cube (unlike quke 2). How to hide this lines ?
use GL_CLAMP instead of GL_REPEAT

http://members.xoom.com/myBollux
Advertisement
  glBindTexture(GL_TEXTURE_2D, texturename); 	glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP);glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP);glBegin(GL_QUADS);  



Edited by - keermalec on January 22, 2001 8:30:51 AM

This topic is closed to new replies.

Advertisement