Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit0a13e47b57

README.md

probegi_apply

Reads the probe field at every surface in view. For each pixel with a surface it rebuilds the world position from depth, reads the irradiance over pi at that position facing the surface's normal, and multiplies it by the surface's diffuse colour (its base colour times one minus its metallic), the field's gain and its tint, with the irradiance floor under the reading. The result is the light to add to the frame; a pixel with no surface holds zero.