Skip to main content

Module environment_lighting

Module environment_lighting 

Source
Expand description

Portable bounded environment-probe evaluation and fallback policy.

Structs§

EnvironmentLightingGpu
Bounded, texture-independent environment lighting binding for a material.
EnvironmentLightingResult
Result of one environment evaluation.
EnvironmentProbe
A caller-owned, prefiltered environment probe.
EnvironmentProbeGpu
One fixed-layout probe record consumed by the viewport material shader.
EnvironmentProbeSet
Fixed-capacity probe storage. Construction is cold; evaluation is a bounded read-only path.

Constants§

ENVIRONMENT_LIGHTING_GPU_SIZE
Fixed GPU contract size for one material’s environment lighting binding.
ENVIRONMENT_SPECULAR_LEVELS
Number of roughness-filtered specular levels stored per probe.
MAX_ENVIRONMENT_PROBES
Maximum number of probes visited by one environment-lighting evaluation.

Functions§

evaluate_environment_lighting
Evaluate bounded irradiance/specular probe lighting with an explicit direct-light fallback.