Texel A field guide to 3D techniques

Screen-space Volumetric Light Scattering (God Rays) Mitchell

Fake sun shafts by blurring an occluder mask radially away from the sun's screen position and adding it over the frame.

Also known as crepuscular rays, light shafts, radial blur god rays

In the family Atmosphere, water & volumes, light shafts

Where it runs

Built inOfficial add-onPluginNone foundNot researched

EngineSupportHow
three.js r187Official add-onimport { godrays } from 'three/addons/tsl/display/GodraysNode.js' docs
Babylon.js 9.38.0Built innew BABYLON.VolumetricLightScatteringPostProcess('vls', 1.0, camera, mesh, 100, ..., engine) docs
Godot 4.7None found Godot provides 3D froxel volumetric fog, not a 2D screen-space radial god-ray blur pass.
UnityNone found HDRP uses physically based froxel volumetric fog rather than a screen-space radial-blur god-rays post-process.
Unreal 5.7Built inDirectional Light > Light Shafts > Light Shaft Bloom / Light Shaft Occlusion docs Screen-space light shafts; Volumetric Fog also gives true volumetric scattering.
Blender 5.2Built inCompositor > Add > Filter > Glare, Glare Type = Sun Beams docs Screen-space crepuscular rays in the compositor.
WebGPU W3CNone found
MetalNone found