OpenGL.GL.NV.texgen_reflection
OpenGL extension NV.texgen_reflection
This module customises the behaviour of the
OpenGL.raw.GL.NV.texgen_reflection to provide a more
Python-friendly API
Overview (from the spec)
This extension provides two new texture coordinate generation modes
that are useful texture-based lighting and environment mapping.
The reflection map mode generates texture coordinates (s,t,r)
matching the vertex's eye-space reflection vector. The reflection
map mode is useful for environment mapping without the singularity
inherent in sphere mapping. The normal map mode generates texture
coordinates (s,t,r) matching the vertex's transformed eye-space
normal. The normal map mode is useful for sophisticated cube map
texturing-based diffuse lighting models.
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/NV/texgen_reflection.txt
Functions
Constants
GL_NORMAL_MAP_NV (34065)
GL_REFLECTION_MAP_NV (34066)