← index

Volumetric Light

Ray-marched volumetric lighting: fog is sampled between the camera and the scene, shadow-marching toward the sun at every step so light only scatters in where the path is clear — the god-ray shafts streaming between the pillars.