Ok, I edited this question to simplify it a little bit. So I have this .capx
Is there any way to make the shadow cover the red object that's behind?
This would be the perfect example:
This is the original post if you want to check:
I am trying to make a decent flashlight effect, so I modified a .capx [sorry, can't use urls yet] and got this:
Now the problem is, when I stand in front of a wall, I can still see the other walls when I hoover over them with the flashlight even though a wall is blocking the "light" path. Is there any way to solve this? should I use another technique to emulate a flashlight like this?
Thanks in advance!