I write shaders in clickteam editor.
Maybe such thing is planned for CF3, but it certainly isn't in CF2.5.
//edit: Thanks to you, I made it. Your solution worked. I've also made a reverse effect where the mask basically cuts the hole into layer.
@Lukaaash : The Android and iOS exporters don't currently support shaders.
@Darkhog : Can you please post the reverse solution (where a defined mask area "reveals" the object it overlaps)? I am trying to do something where multiple objects appear to rise out of the ground and I want to hide the part of them below a specific Y value.
Can you please convert this shader to Direct3D 11?