Source code for the Brilliant Bloom mod.
Readme File:
So I decided to release the source. No need to sit on it...
It's complitely undocumented, as was the work I based mine on. The game code isn't the complex part, it's the shaders. I dont even remember how it exactly works anymore.. Fullscreen is captured, then a shader evaluates some pixels for brightness and renders a 2x2 output with that info. Second shader renders the blurred screen (times iterations) and adjusts the amount according to the 2x2 texture. Third shader then blends the result with the original render. If I remember right.
You can ask me via mail or on messenger, if you need help.
.Marko