Post Process template and _MainTex
Posted: Thu Jan 18, 2018 11:38 pm
Hello!
I am trying to make an Unity image effect with ASE and when I select Shader Type=Post Process I can see in the generated code that _MainTex sampler is added automatically from the template. The question is how to reference the _MainTex sampler in the visual node editor? I can add new "Texture Sample" node but I am not allowed to name it "Main Tex" as the name collides with existing one.
Thank you in advance for any help. Have a great day!
Maciej
I am trying to make an Unity image effect with ASE and when I select Shader Type=Post Process I can see in the generated code that _MainTex sampler is added automatically from the template. The question is how to reference the _MainTex sampler in the visual node editor? I can add new "Texture Sample" node but I am not allowed to name it "Main Tex" as the name collides with existing one.
Thank you in advance for any help. Have a great day!
Maciej