Expand description
Ambient and indirect lighting for Proof Engine.
Provides screen-space ambient occlusion (SSAO), spherical harmonics for diffuse irradiance, light probe grids with trilinear interpolation, reflection probes with parallax correction, ambient cubes, and hemisphere lighting.
Structsยง
- Ambient
Cube - A 6-directional ambient cube encoding low-frequency lighting from the six axis directions. Simpler than SH but can capture more directional variation than a single ambient color.
- Ambient
Stats - Statistics for the ambient system.
- Ambient
System - Orchestrates all ambient and indirect lighting components.
- Hemisphere
Light - A hemisphere light with a sky color and ground color that blends based on the surface normal.
- Light
Probe - A single light probe storing SH coefficients at a world position.
- Light
Probe Grid - A 3D grid of SH light probes with trilinear interpolation.
- Reflection
Probe - A reflection probe that captures a cubemap for specular reflections. Supports parallax correction for box-shaped influence volumes.
- Reflection
Probe Manager - Manages multiple reflection probes and blends between them.
- Spherical
Harmonics9 - Second-order (L=2) spherical harmonics with 9 coefficients per color channel. Used for encoding low-frequency irradiance from environment lighting.
- Ssao
Config - Configuration for screen-space ambient occlusion.
- Ssao
Kernel - Generates and stores the SSAO sampling kernel and noise rotation vectors.
- Ssao
Result - The computed SSAO buffer.