To toggle the glow effect from the Shader Graph, follow these steps:
- First, delete the link from the Out(4) output from the Multiply node to the Emission(3) input of the PBR Master node. We are doing this because the output of this Multiply node will become the input for a second Multiply node that we are about to create.
- Create a new Multiply node in your Shader Graph by right-clicking and going to Create Node | Math | Basic | Multiply.
- Link the Out(4) output from the original Multiply node to the A (4) input of your new Multiply node. Also, link the Out(4) output from the new Multiply node to the Emission(3) input of the PBR Master node.
- Add a new float (decimal number), exposed to the Power property, to your Shader Graph by creating a new property in the Shader Graph Blackboard. Click the plus (+) button, choose the Vector 1 property type, and rename this Power.
- In Blackboard, set Default value of the Power property...