Custom UI Material Issue
Related to this question, I have a material I am using in the UI and modifying one of the shader property values with code, so that I can create a progress bar. However if I add _ColorMask("Color Mask", Float) = 15
to my shader, then this progress bar behavior vanishes. No matter what alpha cutoff value I set, it always looks like this: Leaving the ColorMask out, I get the behavior I want, but Unity complains that the shader lacks the ColorMask property.
Material Progress doesn't have _ColorMask property
Your answer
Follow this Question
Related Questions
UI Mask dont aliasing children images 0 Answers
OnpointerClick not working(parents gameObject has EventTrigger) 0 Answers
So, tiling textures in UI Materials in not a thing? 0 Answers
UI RectTransform.rect.width/heigth returns incorrect/negative values 0 Answers
Is UI system much worse in terms of performance than using 2D sprite? 0 Answers