WebGL Beginner's Guide - Chapter 3

The Wall

This example shows the calculation of final colors based on the angle of incidence of the light and the normals of the triangles that make part of the wall. The interpolation obtained by the Fragment Shader is also shown

Your browser does not support the HTML5 canvas element.