text stringlengths 0 8.81k |
|---|
MODIFY_MATERIAL |
string |
The custom shader will be used to modify the results of the material stage |
before lighting is applied. |
REPLACE_MATERIAL |
string |
The custom shader will be used instead of the material stage. This is a hint |
to optimize out the material processing code. |
Experimental |
This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy. |
constant CustomShaderTranslucencyMode : number |
engine/Source/Scene/Model/CustomShaderTranslucencyMode.js 9 |
An enum for controling how CustomShader handles translucency compared with the original |
primitive. |
Properties: |
Name |
Type |
Description |
INHERIT |
number |
Inherit translucency settings from the primitive's material. If the primitive used a |
translucent material, the custom shader will also be considered translucent. If the primitive |
used an opaque material, the custom shader will be considered opaque. |
OPAQUE |
number |
Force the primitive to render the primitive as opaque, ignoring any material settings. |
TRANSLUCENT |
number |
Force the primitive to render the primitive as translucent, ignoring any material settings. |
Experimental |
This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy. |
constant DepthFunction : number |
engine/Source/Scene/DepthFunction.js 8 |
Determines the function used to compare two depths for the depth test. |
Properties: |
Name |
Type |
Description |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.