czm_modelViewProjection
An automatic GLSL uniform representing a 4x4 model-view-projection transformation matrix that
transforms model coordinates to clip coordinates. Clip coordinates is the
coordinate system for a vertex shader's gl_Position
output.
Example
// GLSL declaration uniform mat4 czm_modelViewProjection; // Example vec4 gl_Position = czm_modelViewProjection * modelPosition; // The above is equivalent to, but more efficient than: gl_Position = czm_projection * czm_view * czm_model * modelPosition;
- uniformState#modelViewProjection
- czm_model
- czm_view
- czm_projection
- czm_modelView
- czm_viewProjection
- czm_modelViewInfiniteProjection
- czm_inverseModelViewProjection