Refurbished Volumetric Lighting

I put together refreshed version of Volumetric Lighting lib based on thetoucher great work which I wanted to save from oblivion. I haven’t changed much. Just few bugs. To be honest the core code is way above my paygrade. Maybe someone could push it forward.

Originally the lib is based on SpotLight which is a source of light and parameters. I don’t think is was a good idea in the long run. It might work if we really want to use spotlights but for sun-like light it is a problem.
I added two tests - one to simulate sun and the second to show a street lamp.




Looks very Noice

1 Like