Light Map on a Cube
Swipe to Spin the Cube
Display lighting with a
light map and WebGL. Load two maps. One map textures the cube.
The other map provides lighting.
Swipe to rotate the cube. The light doesn't move.
shine on different areas of
the cube as it moves.
Light maps provide a quick and uncomplicated method to display lighting. Simply load a different light map to change the lighting.
The image for the light map was generated with Photoshop's lighting effects filter.
Filter > Render > Lighting Effects > Omni
The image for the texture map was applied to a cube with 3DS Max. Seven Thunder Software created a simple cube and adjusted texture coordinates which map solid colors to different faces of the cube.