czm_model

czm_model

An automatic GLSL uniform representing a 4x4 model transformation matrix that transforms model coordinates to world coordinates.

Like all automatic uniforms, czm_model does not need to be explicitly declared. However, it can be explicitly declared when a shader is also used by other applications such as a third-party authoring tool.

Example
// GLSL declaration
uniform mat4 czm_model;

// Example
vec4 worldPosition = czm_model * modelPosition;
See:
Source: