main.cesium.LightingModel.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
package cesium
/**
* The lighting model to use for lighting a [ModelExperimental].
* @see Online Documentation
*/
@JsName("\$cesium__LightingModel")
external object /* enum */ LightingModel {
/**
* 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 `gl_FragColor`. The alpha mode is still
* applied.
*/
val UNLIT: LightingModel
/**
* Use physically-based rendering lighting calculations. This includes
* both PBR metallic roughness and PBR specular glossiness. Image-based
* lighting is also applied when possible.
*/
val PBR: LightingModel
}