03/14/2002
15-462 Graphics I
23
Other Texture Parameters
•glTexParameterf()
–Use this function to set how textures repeat
•glTexParameterf(GL_TEXTURE_WRAP_S, GL_REPEAT)
•glTexParameterf(GL_TEXTURE_WRAP_S, GL_CLAMP)
–Which spot on texture to pick
•glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST)
•glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST)