Search found 4 matches

by zigtom
Wed Oct 18, 2017 5:05 am
Forum: Amplify Shader Editor
Topic: Sprite template
Replies: 6
Views: 7829

Re: Sprite template

Done! Its the one from tomzigza
by zigtom
Tue Oct 17, 2017 2:28 am
Forum: Amplify Shader Editor
Topic: Sprite template
Replies: 6
Views: 7829

Re: Sprite template

Thanks so much. Thats exactly what I needed to know.
by zigtom
Sun Oct 15, 2017 3:36 pm
Forum: Amplify Shader Editor
Topic: Sprite template
Replies: 6
Views: 7829

Re: Sprite template

As an example I was able to edit the shader after using your grayscale as a starting point to do this like so:

fixed4 frag(v2f IN ) : SV_Target
{
fixed4 c = SampleSpriteTexture (IN.texcoord) * IN.color;
float oldA = c.a;
c = (Luminance(c.rgba)).xxxx;
c.a = oldA;
c.rgb *= c.a;
return c ...
by zigtom
Sun Oct 15, 2017 7:49 am
Forum: Amplify Shader Editor
Topic: Sprite template
Replies: 6
Views: 7829

Sprite template

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 ...