Skip to content

KBE3D / KBCore / Cesium / CustomShaderTranslucencyMode

枚举: CustomShaderTranslucencyMode

An enum for controling how CustomShader handles translucency compared with the original primitive.

枚举成员

INHERIT

INHERIT: 0

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

OPAQUE: 1

Force the primitive to render the primitive as opaque, ignoring any material settings.


TRANSLUCENT

TRANSLUCENT: 2

Force the primitive to render the primitive as translucent, ignoring any material settings.

KBE3D @3.0.0 Copyright © 2024-present KBE3D