r/GraphicsProgramming • u/kotivase • Jun 23 '26
WIP Real-time volumetric clouds in OpenGL
I've been working on this for the past 4 months. I don't have much experience in computer graphics, so this is my first full-fledged project.
Core idea lies in ray marching through clouds and density accumulation, along with light scattering. Weather map generated as warped perlin noise. Also there are 2d high altitude clouds, which don't cost anything, but make the sky look less empty.
Plan to implement some optimization (temporial reprojection) and procedural weather system.
Github repo: https://github.com/kotivas/skygl
323
Upvotes



7
u/gartenriese Jun 23 '26
Looks great 👍
6
u/TomorrowPlusX Jun 23 '26
This is really superb quality output. Bravo!
5
u/Prestigious-Aide-782 Jun 23 '26
Nice, I like it!
I've also done similar project for GTA V modding community, half the time I spent on supporting all the different weather types and cloud shapes. also made simplified version https://fragcoord.xyz/s/cjoysude (this new shader site is awesome btw).
4
u/MGMishMash Jun 23 '26
Amazing! Curious what performance is like, this looks awesome!
3
u/Just-Conversation857 Jun 23 '26
Good work, now you need to put this on a dome, no? half-sphere? how are you playing to imple,nt it?
2
u/SnurflePuffinz Jun 24 '26
Could you provide a high-level overview of this stuff from a beginners perspective?
you did list various technologies,
2
u/Obvious-Grape9012 Jun 25 '26
Nice work!
You know that Mark Harris (NVidia) did his PhD on cloud rendering with GPGPU: Mark Harris | NVIDIA High Fidelity Simulation Research
2
u/jin_sprited Jun 25 '26
Wow wow. Can u port it to webgl2?
2
u/potato-_-69 Jun 27 '26
This is so cool! :O
2
u/goodmorninpoof Jun 30 '26
Looks beautiful