glTexParameteri( GL_TEXTURE_[n]D[_EXT], GL_WRAP_{ S, T, R_EXT }, param ); glTexParameterfv(GL_TEXTURE_[n]D[_EXT], GL_TEXTURE_BORDER_COLOR,(float *)color); GL_REPEAT Repeats the texture GL_TEXTURE_BORDER_COLOR GL_CLAMP Repeats the value interpolated at the edge (50%) with BORDER_COLOR GL_CLAMP_TO_BORDER_SGIS Repeats constant BORDER_COLOR GL_CLAMP_TO_EDGE_SGIS* Repeats constant edge color NO sampled BORDER_COLOR
GL_REPEAT
GL_TEXTURE_BORDER_COLOR
GL_CLAMP
BORDER_COLOR
GL_CLAMP_TO_BORDER_SGIS
GL_CLAMP_TO_EDGE_SGIS*