czm_modelView
An automatic GLSL uniform representing a 4x4 model-view transformation matrix that
transforms 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 mat4 czm_modelView; // Example vec4 eyePosition = czm_modelView * modelPosition; // The above is equivalent to, but more efficient than: vec4 eyePosition = czm_view * czm_model * modelPosition;
- uniformState#modelView
- czm_model
- czm_view
- czm_modelViewProjection
- czm_normal