| <<< Minification and magnification | Index | Minification vs. Mipmapping >>> |
To handle minification and magnification properly, we specify more properties:
// Set the preferences:
glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_MIRRORED_REPEAT );
glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_MIRRORED_REPEAT );
glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST );
glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST );
There are two texture parameter values for GL_TEXTURE_MAG_FILTER and GL_TEXTURE_MAG_FILTER parameters:
|
|
| <<< Minification and magnification | Index | Minification vs. Mipmapping >>> |