r/GraphicsProgramming • u/cfnptr • Apr 14 '26
Video Physically based clouds and planet atmosphere rendering
Based on S. Hillaire "Production Ready Atmosphere" paper and Guerrilla Games "Nubis" presentations and papers.
5
u/New_Movie9196 Apr 14 '26
I have pbr sky and atmosphere in my engine too based on Hillaire's papers but it doesn't look nearly as good as that.
11
u/cfnptr Apr 14 '26
There is an open source implementation of his approach used in Unreal Engine:
https://github.com/sebh/UnrealEngineSkyAtmosphereYou can capture it with RenderDoc and compare it to yours step by step, there might be an error or just a difference in parameterization. My implementation is mostly based on this, just with some optimizations.
4
3
5
u/zemledelec Apr 14 '26
Amazing! Share your shaders please I will use it for my game engine!))))
7
u/cfnptr Apr 14 '26 edited May 15 '26 •
![]()
Thank you! The system is a bit complex, but I hope you can make use of it :)
Clouds and atmosphere source code:
https://github.com/cfnptr/garden/blob/main/source/system/render/atmosphere.cpp
https://github.com/cfnptr/garden/blob/main/source/system/render/clouds.cppShaders:
https://github.com/cfnptr/garden/tree/main/shaders/clouds
https://github.com/cfnptr/garden/tree/main/shaders/atmosphere
2
1
5
u/thats_what_she_saidk Apr 14 '26
Really nice!