| <<< OpenGL Errors | Index | Color Theory >>> |
In OpenGL, we are always turning features on and off with glEnable() and glDisable()
By default, everything is disabled
For example:
glEnable( GL_DEPTH_TEST );
.
.
.
glDisable( GL_DEPTH_TEST );
Note: you can always determine if something is on with
GLboolean glIsEnabled( GLenum );
| <<< OpenGL Errors | Index | Color Theory >>> |