Nm sorry i did a mistake and needed to delete
All that comes to mind is:
- setting
main.a = 0;
/mask.a = 0;
- using transparent cutout by for example
clip (main.a - someValue);
, where whenmain.a - someValue
is lower than 0, pixel won’t be rendered. It’s useful when your mask is making the object fade. - making fully transparent texture