SHOWCASE / LIVE RGB SH ENCODER
Spherical harmonics
A room for the light.
Two movable world-space lights are encoded live into 27 RGB SH coefficients, then reconstructed across the gallery.
Soft environment
Directional functions
DRAG SPHERES TO ROTATE
Y1,1(ω)
SH reconstruction
− negative0+ positive
One-bounce GI
Rendering pipeline
Lighting field
SH light encoder
x −4.80 / y 4.20 / z 3.00
Encoded RGB coefficients
Light direction
Scene surface value
DIFFUSE IRRADIANCE / COSINE-WEIGHTED HEMISPHERE
Reconstruction order
c0,0
c1,−1
c1,0
c1,1
c2,−2
c2,−1
c2,0
c2,1
c2,2
Object position
The wire markers in the scene are probe locations. The moving sphere evaluates one interpolated set of nine irradiance coefficients.
ci(p) = (1 − t)ciA + tciB
This first-order basis changes sign across the x axis. Gray is exactly zero.
Yl,m(ω) is a fixed pattern on the sphere
08 / SOFT-LIGHT SHOWCASE