Hi, I’m using the sprite masking extension for the first time. I have an object that will have a shadow but I only want the shadow to be visible on the platform, not in the air.
I know there’s shadow clone and reflection extensions but I need to be able to adjust the angle of the shadow to match the angle of the platform so I’m making my own shadow.
The next pic shows the scene editor with a yellow platform with a green fake platform behind it acting as the object mask. It’s not in alignment for the pic to make sense.
When I have the object mask on, the shadow object goes to about 50% opacity as shown in the bottom left. Is this meant to happen?
Then on the bottom right there’s a pic of the shadow object without the mask. Because it’s a shadow the reduced opacity is okay but I’d rather be able to control it myself.
So, is this reduced opacity expected behavior or is there something wrong? The ball is a physics object but I got the same opacity thing with a top down movement object.
Wow, red works! But I don’t understand how you could know that. It’s not mentioned in the documentation or the configuration. And in an example from a while back, @MrMen used a white mask with, I assume, no problems.
I did a bit of searching to get more info on masks needing to be red and now I’m even more confused. A year after that post, there was this one that I think I understand from the author of the extension:
And later on in the same thread:
Has something changed? If it does need to be red, then can that instruction be put in the extension description?