Package eu.svjatoslav.sixth.e3d.renderer.raster.gi


package eu.svjatoslav.sixth.e3d.renderer.raster.gi
Progressive CPU global illumination.

GlobalIllumination runs Monte Carlo ray casting on dedicated low-priority threads against a TriangleBvh built over the rendered polygons, and feeds per-polygon direct-light visibility (shadows) and indirect irradiance (bounced light) into the shading path through GiLightProvider. Rendering itself never casts rays; illumination converges progressively and adapts to scene changes over time.

GI is strictly opt-in: enable it with viewPanel.enableGlobalIllumination().