Skip to content

KBE3D / KBCore / Cesium / CustomShaderMode

枚举: CustomShaderMode

An enum describing how the CustomShader will be added to the fragment shader. This determines how the shader interacts with the material.

枚举成员

MODIFY_MATERIAL

MODIFY_MATERIAL: "MODIFY_MATERIAL"

The custom shader will be used to modify the results of the material stage before lighting is applied.


REPLACE_MATERIAL

REPLACE_MATERIAL: "REPLACE_MATERIAL"

The custom shader will be used instead of the material stage. This is a hint to optimize out the material processing code.

KBE3D @3.0.0 Copyright © 2024-present KBE3D