Hello, i am trying to add “GrayScale Material” for my UI but when i add the material to the Image it’s
overflows from the section.
As you see, only material applied part overflowing. Before i adding this, there was no problem. How can i solve this?
And one more thing. I got this error too. When i check them, it’s about UI masking. Maybe someone can help me more with these.
It’s solved. So what i do?
It’s about _Stencil property if you want to get more information you can check here;
https://stackoverflow.com/questions/62710453/unity-shader-warning-when-not-adding-stencil-properties
And i replaced my old shader to this;
So that’s it. All done!