The Normal Matrix

The gl_NormalMatrix is present in many vertex shaders. In here some light is shed on what is this matrix and what is it for. This section was inspired by the excellent book by Eric Lengyel “Mathematics for 3D Game Programming and Computer Graphics”. Many computations are done in eye space. This has to do with … Continue reading The Normal Matrix