Multiple light source for deferred shadow

Hi everyone, I need to build a scene with multiple light source, I was looking into the deferred shadow contribution which is visually exactrly what I need, but It doesn’t work with multiple lights and has some problem with anti aliasing settings. Other options? I know of superPhysical of course but I need a more straightforward kind of shadow, SuperPhysical is a bit too complex and expansive for my needs

there you go array version, did’t test it that much

FXAA used to do AA in deferred…
DeferredShadowArray.zip (55.7 KB)

make sure you have same amount of lights and light projections otherwise it won’t work

1 Like

Wow,it’s perfect, thanks!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.