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

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

// Automatically generated - do not modify!

@file:JsModule("cesium")

package cesium

/**
 * The lighting model to use for lighting a [ModelExperimental].
 * @see Online Documentation
 */

external enum class 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.
     */
    UNLIT,

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

    ;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy