Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Andrea |
Hello,
i´m struggling to understand how to make a simple (at least in my mind) effect.
My project is a 2D top-down survival, I cast a light (mask mode) with shadows from the head of the character, so that every object with a light-occluder node will create a cone of shadow where the player cannot see inside.
However, I would like him to visualize the sounds: to do so, I want to make “sound objects” (a sprite of footsteps, e.g.) visible ONLY where the shadows are cast.
And I also would like the sound sprites to be occluded by “sound shadows” produced by sounds occluder.
Basically, a lower layer where light represent sounds, and an upper layer where light represent visible area, with the lower layer visible only inside the shadow of the top layer.
How can I do so? I tried every combination of 2D light, occluder, light mask but I havent find anything working 100% as I am imagining