WIP blocky planet/galaxy rendering engine : atmospheric scattering

Опубликовано: 18 Апрель 2026
на канале: smea
2,749
9

http://smealum.net
showcasing a neat atmospheric scattering fragment shader.
the code for the fragment shader was originally made by sean o'neil, all I did was port it as a shader (and obviously include it in my "engine").
so basically now there are very nice looking atmospheres; however, stars still look like crap and there's a ton of annoying glitches/artifacts in the planet rendering.

from the previous video :
   • WIP blocky planet/galaxy rendering engine  
this is a video of a very rough block planet rendering engine. it's only a few days old so expect tons of glitches, graphical or otherwise. Also, a lot of things have to be done manually at the moment, so the video isn't exactly smooth.
I plan on trying to get this to perform (CPU usage isn't really optimized as of yet; memory usage is pretty much stable though)and look better now, mostly, as most of the basics have been nailed already. Transitions aren't completely seamless yet but we're getting there. Also note that the terrain generation currently being used is only for testing purposes. This uses libnoise for terrain generation, opengl for rendering and SDL for the window, keyboard input etc.
Not too sure what this will become, if anything. I'd kinda like to make this into a space minecraft clone, but nothing is set in stone at this point.