Here is a boss I want to do: It has a thick armor but after receiving some attack, some “PART” of armor can be set to 0 in opacity to reveal it weak points.
I did some study first though, like location based opacity.
But it limits to 1 sphere mask, even I want to add more mask to achieve similar result during run-time.
I tried to collection parameters to input multiple points, but there doesn’t seems to be loop available in material to generate sphere mask one-by-one and sum them up.
I would like to ask if it’s possible to combine multiple sphere masks from undecided amount of points during run-time to achieve this.
Thank you.
Have you tried creating multiple masks(one for each section of armour to reveal) and then blending the relevant masks together and using that for the opacity mask?
That should give you what you want, Just remember to pack the different masks into the RGB(A) components of the texture.