It has finally happened! AI has made tech-tutorials irrelevant! Thus, making whatever this blog was irrelevant too... Not that this site was ever a coherent source of information.
Anyway, I am taking a massive left turn here, from now on I'll use this place to regularly make bizarro mood-postings on whatever I am working on at that time. Quality will go down! If that was even possible in the first place.
What am I on about?
I am working on stuff that is too rough or too opinionated for the broader Internet. (or uses AI, gasp!)
I need an outlet to share my stuff, I don't need everyone to see it, I just need it to be out there, call it a midlife crisis.
If you are unfortunate enough to be here, I'll share the things I learned mostly related to game dev stuff. It'll be cool, promise.
Now onto first week's topic:
Fog and Light
Inspired by the copious amount of traumatic media I've imbibed, I started chasing a certain vibe in Godot. I knew what I was going for so I started telling Claude to modify the engine's volumetric fog and to make no mistake.
> 01/07 Chasm 1 video
I think it came out alright. The images are from different iterations, so they change ever so slightly. Also, it looks better in-game, video's compression kind of destroyed some of the feel.
There is a lot going on here I don't care to explain in detail but I'll give some insights:
- The volumetric light system is modified to support moving projector textures, that is what is doing most of the heavy lifting.
- The light fog below is a particle system with a custom isotropic lighting setup for the shader.
- There is a lot of post processing going on. Obviously. Panini projection, pixel sorting, block displacement, sharpness, distance blur, ... There is a lot going on there.
- The light shafts are volumetric spotlights and old-timey light-shaft meshes combined. There are also two layers of moving noise on the light shafts.
Also, the light-shaft shader features Perspective Correct Interpolation! Woah! I learned about it this week.

left: affine, right: perspective-correct
It makes the warping go away by mapping the U differently. It's cool, same thing as the psx-era game texture wobble but used in a different problem.
Lastly, here is a treat: The mesh, materials, textures, shaders and the scene I used to make the light beams. LightShafts.zip