0 votes

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 ?

asked Jan 15, 2019 in Engine by atom (35 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.