Hey, I’m creating a material in which I have a mask that I want to be able to turn off and on.
To be specific, what I want to do is that the mask is only active while a button is active (In boolean terms, if isActivated = true, the mask is activated).
I can´t find anything that allows me to do this. I know that doing it with decals could be an easy solution, but I feel like is better with a material.