Outline Disable Switch
Posted: Fri Aug 24, 2018 11:29 pm
Hi!
I'm just beginning and don't necessarily see the obvious I have searched the forums but cannot find an answer thus far.
I'm using the Cutom Outline Toon shader (provided in the samples).
In the Custom Outline section of the shader, I'd like to add a switch that completely disables the Outline. I want to be able to disable it at runtime.
Is this possible? How would it be achieved?
Thanks kindly.
edit: I realise I can reduce the float to 0, but owing to peculiarities in my 3d models, the outline remains annoyingly visible when this is done. I'm hoping a switch solves the problem.
I'm just beginning and don't necessarily see the obvious I have searched the forums but cannot find an answer thus far.
I'm using the Cutom Outline Toon shader (provided in the samples).
In the Custom Outline section of the shader, I'd like to add a switch that completely disables the Outline. I want to be able to disable it at runtime.
Is this possible? How would it be achieved?
Thanks kindly.
edit: I realise I can reduce the float to 0, but owing to peculiarities in my 3d models, the outline remains annoyingly visible when this is done. I'm hoping a switch solves the problem.