Skip to content

KBE3D / KBCore / Cesium / LightingModel

枚举: LightingModel

The lighting model to use for lighting a Model.

枚举成员

UNLIT

UNLIT: 0

Use unlit shading, i.e. skip lighting calculations. The model's diffuse color (assumed to be linear RGB, not sRGB) is used directly when computing <code>out_FragColor</code>. The alpha mode is still applied.


PBR

PBR: 1

Use physically-based rendering lighting calculations. This includes both PBR metallic roughness and PBR specular glossiness. Image-based lighting is also applied when possible.

KBE3D @3.0.0 Copyright © 2024-present KBE3D