15 lines
403 B
GLSL
15 lines
403 B
GLSL
/**
|
|
* A built-in GLSL vec2 constant for defining the depth range.
|
|
* This is a workaround to a bug where IE11 does not implement gl_DepthRange.
|
|
*
|
|
* @alias czm_depthRange
|
|
* @glslConstant
|
|
*
|
|
* @example
|
|
* // GLSL declaration
|
|
* float depthRangeNear = czm_depthRange.near;
|
|
* float depthRangeFar = czm_depthRange.far;
|
|
*
|
|
*/
|
|
const czm_depthRangeStruct czm_depthRange = czm_depthRangeStruct(0.0, 1.0);
|