Zanir » Blog Archive » Program 10 – Multi-texturing

Program 10 – Multi-texturing

25.05.2002

010_multitexturingMulti-texturing – the ability to apply two or more distinct textures to a single fragment. I use two texture units. Each texture unit has its own texture coordinates.
Multi-texture makes it possible to use light-map in one pass. Many OpenGL games such as Quake and Unreal use light maps to improve the lighting quality within their scenes. Multi-texture is often uses on bump-mapping.

Request: GL_ARB_multitexture and GL_ARB_texture_env_add.

source code (with jpeg.lib) and executable – 262 kB

Leave a Reply