PDA

View Full Version : inside cube and textures



alex2
04-24-2011, 04:39 AM
Camera is inside cube, internal cube walls have got textures but I see black lines between each two walls - example: http://img268.imageshack.us/i/beztytuuxab.jpg/
why ?

V-man
04-24-2011, 07:49 AM
Perhaps this
http://www.opengl.org/wiki/Common_Mistakes#Texture_edge_color_problem

BionicBytes
04-25-2011, 08:26 AM
Set your texture filtering to GL_CLAMP_TO_EDGE to avoid sampling at the border.