Hi,
I tried the ASE template from here:
http://wiki.amplify.pt/index.php?title= ... /Templates
But I don't know what the purpose of the template is, just to generate a code?
The generated code just removes the ase keyword in the template. so,why must setting tags like this: uv0=tc0?
Am i missing something?
Thanks in advance.
What does the template do?
- Ricardo Teixeira
- Posts: 954
- Joined: Fri Aug 09, 2013 2:26 pm
Re: What does the template do?
Hello,Rokki wrote:Hi,
I tried the ASE template from here:
http://wiki.amplify.pt/index.php?title= ... /Templates
But I don't know what the purpose of the template is, just to generate a code? The generated code just removes the ase keyword in the template. so,why must setting tags like this: uv0=tc0?
Am i missing something?
Thanks in advance.
The purpose of the Template System is to allow users to create their own shader types; currently, this is done by inserting tags as the one referenced in specific locations. A shader file defined as a template will always include your tags, shaders generated from a template will not include any custom tags.
When a functional template is present in your project, you will be able to create shaders using the available types as with the included template samples.

uv0=tc0.xy: Corresponds to the TEXCOORD0 semantic variable, most specifically its x and y component, contains UV set 0.
Have you had the chance to examine the available documentation?
Official Wiki - Shader Templates
Let us know if you have any additional questions, we would be happy to help!
Sales & Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Re: What does the template do?
Thank you for your reply, I will continue to try.