Normal Map with Directional Light
Normal Map and Shaders Provide Light and Shadow
Swipe to Rotate the Prism
This example applies a directional light to a prism with a normal map rather than normal attributes. Upload a texture map rather than vertices, to the GPU. The red, green, and blue values represent X, Y, and Z normal coordinates.