Sprite template
Posted: Sun Oct 15, 2017 7:49 am
I just purchased this tool and it looks very promising.
I wanted to try it out with a UGUI sprite as per the documentation saying it has sprite support.
I created a default sprite template and I am able to effect change on my UGUI Image component. However I am confused on a point. How do I perform operations on the main texture instead of providing another texture. I would like my shader to take whatever the image it is on, and greyscale it. However to get grayscale to work I had to drag a texture into my shader(which now makes it not dynamic) and then greyscale from that into the final sprite template node you have at the start.
So basically how do I use the main texture as my source of color?
I wanted to try it out with a UGUI sprite as per the documentation saying it has sprite support.
I created a default sprite template and I am able to effect change on my UGUI Image component. However I am confused on a point. How do I perform operations on the main texture instead of providing another texture. I would like my shader to take whatever the image it is on, and greyscale it. However to get grayscale to work I had to drag a texture into my shader(which now makes it not dynamic) and then greyscale from that into the final sprite template node you have at the start.
So basically how do I use the main texture as my source of color?