[Feature Request] Alpha-sensitive 2D Masks

Hello!

The masks in Unity are super-useful. I’m using the 2D-mask feature to show underwater landscapes in my project like so:

milkyannualandeancondor

However, Unity masks only offers “hard edges” on their masks. What I mean with “hard edges” is that the mask-edges are sharp, even if the used mask-image has soft edges. For example in the effect above I’m using the soft-edged mask below:

Even if the mask-image has soft edges as in the image above (and a developer alters the alpha-settings in Unity) the resulting effect will always be sharp.
From what I’ve understood this is because Unity’s system uses bit-masking for 2D masks. If Unity allowed for alpha-sensitivity in masks the effect in the gif would look like this:

There are some paid assets that allow for soft masks in the asset store, however, these aren’t integrated into Unity’s own mask-system and can therefore be tricky to use (especially in complex systems).

For this reason I’m making a formal request to the Unity team to add Alpha-sensitive 2D-masks. The Unity system is already robust and great, and I think soft masks would make Unity even stronger and versatile. Alpha-sensitive 2D masks could become great assets for developers and result in improved projects.

Thank you!

1 Like

Just want to double-check that this is the place to post feature requests? If anyone knows a better place, please share where and I will move my post there.

Yes, you can post them here. We will take this into consideration, thanks!

1 Like

Thank you for your reply ChuanXin!
I’m happy to hear it, I’ll be crossing my fingers. :slight_smile:

I hope your Wednesday will be great!

Best regards,
Hulda