Screen-Space Lens Flare Effect Created In Godot
Reimu is here to demonstrate.
This effect was created by Critsium, based on Roujel Williams aka SIsilicon's Lens Flare plug-in for Godot 3.2. Additional downsampling and blur passes were implemented in Godot 4.x to soften the visual result and improve performance. The core pass is said to remain almost the same, with only minor modifications.
Critsium plans to release this effect after their free game launches on Steam. If you're interested in a Godot-made Touhou Project game or this effect, you can follow Critsium on Reddit for updates.
SIsilicon
The original Lens Flare plug-in doesn't produce traditional real-time lens flares. The flares are procedural, detecting bright areas on the screen and generating the effect based on those highlights. Because the effect relies on high-intensity pixels, it's recommended to use it with an HDR viewport.
The plug-in's node comes with some properties to customize the effect. You can control the overall strength of the effect, how much of the screen contributes to the lens flare, the softness of the flares, color distortion, and more.
Get the Lens Flare plug-in here, subscribe to our Newsletter and join our 80 Level Talent platform, follow us on Twitter, LinkedIn, Telegram, and Instagram, where we share breakdowns, the latest news, awesome artworks, and more.