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.

Credits:
https://hub.jmonkeyengine.org/t/volumetric-lighting-filter-wip/27490

Store:
https://jmonkeystore.com/c907a4f2-631f-40fc-934b-3f70ccadb3ce

9 Likes

Looks very Noice

1 Like