Texel A field guide to 3D techniques

Ray-marched Rayleigh/Mie Single Scattering Nishita et al., 1993

Integrate sunlight scattered once toward the eye along the view ray through an exponential-density atmosphere, with an inner loop for sun transmittance; the textbook way to get blue skies and red sunsets in a shader.

Also known as Nishita sky, analytic sky ray march

In the family Atmosphere, water & volumes, atmosphere

Where it runs

Built inOfficial add-onPluginNone foundNot researched

EngineSupportHow
three.js r187None found
Babylon.js 9.38.0Official add-on@babylonjs/materials SkyMaterial (rayleigh, mieCoefficient, mieDirectionalG) docs
Godot 4.7Built inSky.sky_material = PhysicalSkyMaterial (rayleigh_coefficient, mie_coefficient) docs Analytic sky shader with Rayleigh and Mie terms.
UnityBuilt inHDRP Volume > Add Override > Sky > Physically Based Sky (PhysicallyBasedSkyCommon.hlsl evaluates Rayleigh air and Mie aerosol scattering) docs HDRP only.
Unreal 5.7Built inSky Atmosphere component > Rayleigh Scattering / Mie Scattering settings docs
Blender 5.2Built inSky Texture node > Sky Type = Single Scattering docs Single Scattering is legacy; Multiple Scattering is the default.
WebGPU W3CNone found
MetalNone found