All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.cesium.LightingModel.kt Maven / Gradle / Ivy

There is a newer version: 1.90.0-10
Show newest version
// 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
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy