I have a shader that draws animated drop shadow for my mobs.
Shadow shapes are "cut out", but plain black, no transparency.
Mobs are then instanced in a main scene.
I would like to have all drop shadows on the same CanvasLayer in main scene so I can modulate a global transparency that will make shadow blend together at same opacity.
I thought scenes will share a CanvasLayer set at same index :
- shadow is draw in a CanvasLayer -1 in mob scene.
- Main scene has a CanvasLayer -1 with a CanvaModulate child node to set the desired "global" transparency.
Well, it doesn't work.
Am I missing something or CanvasLayer are just scene specific and can't mix childs with another scene on instancing ?