About this Example
We have seen in chapter 5 two of the OpenGL methods, namely GL_REPLACE and GL_DECAL, for applying a image map to a geometry. A third method GL_MODULATE is demonstrated in the example. You can also compare the effect created with this method in contrast to GL_DECAL. Also, part of the user interface is created with the GLUI library. Note that this example is located here versus chapter 5 since the effect of modulate is best appreciated when lighting is present.