Jason Deacutis - Portfolio

Atmosphere Shader

Atmosphere Shader

Realtime atmosphere shader written in HLSL simulating light scattering in Unity Engine. Both realistic & stylized results can be achieved. Optionally supports casting shadows onto the atmosphere.

Extreme example showing shadow casting on the atmosphere itself
Along each pixel's ray, multiple points are evaluated to see how much light they receive. These are combined to determine the final pixel color.