Page 1 of 1

Creating a Fade Shader controlled by the colors alpha?

PostPosted: Thu Dec 20, 2018 6:38 am
by markashburner
Hi

With the Standard Shader in Unity you have an option which allows you to set the rendering mode to fade which you can control with the colours alpha.

Is it possible to do something like this with Amplify Shader and how?

Thanks

Re: Creating a Fade Shader controlled by the colors alpha?

PostPosted: Thu Dec 20, 2018 12:28 pm
by Amplify_Borba
It's definitely possible, but if you want to mimic any of Unity's shaders I recommend looking into its built-in shaders in order to examine how they are set up, as it will likely require a specific arrangement of nodes, property names and parameters.

Image

The example I'm providing below is not based on the built-in shader, however, it should provide the requested functionality:

Image

Image