czm_normal

czm_normal

An automatic GLSL uniform representing a 3x3 normal transformation matrix that transforms normal vectors in model coordinates to eye coordinates.

Positions should be transformed to eye coordinates using czm_modelView and normals should be transformed using czm_normal.

Example
// GLSL declaration
uniform mat3 czm_normal;

// Example
vec3 eyeNormal = czm_normal * normal;
See:
Source: