Interface SkyViewLutConfig

interface SkyViewLutConfig {
    affectedByShadow?: boolean;
    format?: GPUTextureFormat;
    size?: [number, number];
}

Properties

affectedByShadow?: boolean

If this is true and SkyAtmosphereRendererConfig.shadow is defined, user-controlled shadow mapping will be evaluated for every sample when rendering the sky view lookup table.

Defaults to true.

format?: GPUTextureFormat

The format of the sky view lookup table.

Must support GPUTextureUsage.STORAGE_BINDING with "write-only" access. Must support GPUTextureSampleType "float". Should be at least a three component format.

Defaults to: "rgba16float"

size?: [number, number]

The size of the sky view lookup table.

Defaults to [192, 108]