armory/Shaders/volumetric_light
N8n5h 7463de6140 Add cast_shadow to lightArray data
This was done to undo the hardcoded nature of "receiveShadows", which
doesn't play nice when you have multiple lights of the same type and
one or several have cast_shadow set to false.

By simply "passing" the cast_shadow parameter within the lightArray it
was possible to detect lights that don't cast shadows before actually
wasting gpu cycles to render shadows with garbage data.

Support for deferred desktop and mobile, and forward was added.
2021-03-14 23:20:57 -03:00
..
volumetric_light.frag.glsl Add cast_shadow to lightArray data 2021-03-14 23:20:57 -03:00
volumetric_light.json Add support for shadow map atlasing 2021-02-04 17:53:59 -03:00