gpu-curtains
    Preparing search index...

    Define the options used to create the textures by the EnvironmentMap.

    interface EnvironmentMapOptions {
        useLutTexture: boolean;
        lutTextureParams: LUTTextureParams;
        diffuseTextureParams: DiffuseTextureParams;
        specularTextureParams: SpecularTextureParams;
        diffuseIntensity: number;
        specularIntensity: number;
        rotation: number;
    }
    Index

    Properties

    useLutTexture: boolean

    Whether to create a LUT Texture. Default to true.

    lutTextureParams: LUTTextureParams

    Define the parameters used to create the LUT Texture.

    diffuseTextureParams: DiffuseTextureParams

    Define the parameters used to create the diffuse cube map Texture.

    specularTextureParams: SpecularTextureParams

    Define the parameters used to create the specular cube map Texture.

    diffuseIntensity: number

    Define the intensity of the indirect diffuse contribution to use in a PBR shader. Default to 1.

    specularIntensity: number

    Define the intensity of the indirect specular contribution to use in a PBR shader. Default to 1.

    rotation: number

    Define the EnvironmentMap rotation along Y axis, in radians. Default to Math.PI / 2 (90 degrees).