About this project

This is an implementation of a complete atmospheric model and renderer with support of multiple scattering approximation that gives the sky its specific sky-blue color, sun transmittance, aerial-perspective, soft shadows, dynamic time of day, dynamic volumetric clouds with variable sizes, types and coverage and screen space god rays approximation. All that and more running under 1.5 ms on RTX 4080. This code is a part of my masters thesis called ‘Realistic atmosphere rendering’.

Source code can be found on my github.

Performance

RTX 2060RTX 3060RTX 4080
Clouds3.421 ms3.008 ms0.755 ms
Transmittance LUT0.141 ms0.127 ms0.034 ms
Multiple scattering LUT0.414 ms0.371 ms0.259 ms
Sky View LUT0.026 ms0.024 ms0.010 ms
Aerial perspective LUT0.095 ms0.097 ms0.080 ms
Occlusion mask0.631 ms0.615 ms0.161 ms
Radial blur0.154 ms0.150 ms0.040 ms
Sky View LUT up-sample0.081 ms0.076 ms0.020 ms
Composition0.174 ms0.128 ms0.032 ms
Postprocessing0.069 ms0.069 ms0.017 ms
Total frame (with terrain)6.438 ms5.758 ms1.773 ms

One Two Three Four Five

References