2D Soft Shadow

Hi everyone,
I am looking to realise some some shadow effect.
Previously I have been advised to use raycasting culling to compute the shadow and gave it a try but I find the shadow too hard. (Play with light and dark using ray casting and visibility polygons – updated to Phaser 3 | Emanuele Feronato)

I have in mind something like in this article 2D Lighting with Soft Shadows | Slembcke’s Computational Corner

Do you know if there is some phaser plugin or library or code sample available for soft shadow in phaser?

1 Like

use raycasting and then apply blur on the resulting object

1 Like

Good idea I will try that. Thanks.