Lumen-2D converted CPU to GPU in tsl/three.js

Hi, I have able to translate all the CPU of @domenicobrz but I can’t seem to pitch perfect it, although some of it are vibecoded with 70%, I was still able to closely replicated it but can’t find the perfect way to illuminate all global properly. It has too much lights in it’s area compare to the original resources. I am looking for improvement and any idea you think fitted, you can fork it as well to understand what’s happening. It is purely GPU and actually I don’t know if this is the high-performance I can do… If anyone want to look dive on it and take a look will likely to appreciate it.

And this are the differences in image.

and this is the source code.

https://codesandbox.io/p/sandbox/p4lx6j

Adjusting the wAtten and invGamma was able now to achieve it but the beam refraction and reflection is still somehow wrong.