Starburst - lens flare occlusion demo / stress test [Liblast Framework] 2026-10-09 @unfa00
Starburst - lens flare occlusion demo / stress test [Liblast Framework] 2026-10-09  @unfa00
Uploaded October 2026 | Updated November 2026, 2 days ago
(Slowdown at the start of the video is due to OBS recording)

This is an effect I have wanted to implement for the longest time.
I was always fascinated by lens flares in games. recently I've noticed partial occlusion being implemented in Black Mesa (by Crowbar Collective) running on Source engine.

When I was watching Freemans Mind (which I happened to just be re-watching for the 1000th time) I just happened to notice that effect existed even in Half-Life: Source... way before Vulkan API existed!

If that engine can do it efficiently for dozens of light sources with support for alpha-tested geometry (chainlink fences, grates etc) then I must be missing something!

Turns out what I was before trying to approximate with raycasts, has a dedicated tool in graphics APIs called "Occlusion Query".

Further reading:
docs.vulkan.org/spec/latest/chapters/queries.html#queries-occlusion
libcna.com/docs/tutorials/61-occlusion-query.html

Godot does not expose any way of using Occlusion Queries, even though they are present in Vulkan and OpenGL APIs.

This means I have to figure out a way to do the same thing myself.

And so I did!

Initial implementation took 2 hours, after that another 3-4 were spent on tweaks and improvements until I've arrived at the effect you can see here!

This work was all done using Genuine Intellect (a.k.a Muh Brains), eyeballs and a keyboard.

Source under MIT license:

codeberg.org/Liblast/liblast-framework/src/commit/972d61be0064b3f0f21dc24e4193a0b7b73459e4/addons/liblast_framework/experiments/flare_rendering
Starburst - lens flare occlusion demo / stress test [Liblast Framework] 2026-10-09EVERY vocal track NEEDS THIS plug-in! (Airwindows DeBess) [possibly disturbing imagery]How stable is Zrythm 1.0.0 Beta 2.1.1? (unfa live 2022-07-03)Making music with a hammer and coconut cheese - or with Samplv1 and Ardour (unfa live 2019-11-03)Making a funky song in Zrythm (unfa live 2021-08-01)Failing to make music with Surge LV2 libre synthesizer (unfa live 2020-03-01)Remixing from stems using Ardour (unfa live 2022-11-06)Freeware -vs- Free SoftwareThis guy is a character from QUAKE 3How to make AWESOME voice-overs with Free Software?Muse - Unintended (unfa cover)Important Announcement
unfa🇺🇦 |

Starburst - lens flare occlusion demo / stress test [Liblast Framework] 2026-10-09

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER