OpenGL.GL.EXT.index_material
OpenGL extension EXT.index_material
This module customises the behaviour of the
OpenGL.raw.GL.EXT.index_material to provide a more
Python-friendly API
Overview (from the spec)
This extends color index lighting to include a way for the current
index to contribute to the color index produced by lighting. This
works much like ColorMaterial does for RGBA lighting by allowing
one or more color index material properties to be attached to the
current index.
The color index lighting formula is also modified so that the lit
color index may be bitwise shifted in order to allow greater control
when using lighting and fog together in color index mode.
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/EXT/index_material.txt
Functions
Constants
GL_INDEX_MATERIAL_EXT (33208)
GL_INDEX_MATERIAL_FACE_EXT (33210)
GL_INDEX_MATERIAL_PARAMETER_EXT (33209)