An enum describing how the
CustomShader
will be added to the
fragment shader. This determines how the shader interacts with the material.Properties:
Name | Type | Description |
---|---|---|
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.
Members
The custom shader will be used to modify the results of the material stage
before lighting is applied.
-
Default Value:
MODIFY_MATERIAL
The custom shader will be used instead of the material stage. This is a hint
to optimize out the material processing code.
-
Default Value:
REPLACE_MATERIAL