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 ?

in Engine by (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.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.