I have downloaded the Toon Shader from the Unity Asset Store (https://assetstore.unity.com/packages/vfx/shaders/fullscreen-camera-effects/toon-shader-fx-150115) and successfully integrated it into my current game project. However, I am interested in incorporating an additional shader effect, specifically the Fresnel effect shader created using Shader Graph as demonstrated in this tutorial (https://youtu.be/Ar9eIn4z6XE).
My objective is to apply this Fresnel effect shader, or any other desired shader, to certain game objects while also having the Toon shader applied. Despite conducting thorough research online, I have been unable to find a definitive solution, as my understanding is that a material can only be associated with a single shader.
Do I need a way to use both shaders at the same time or just somehow combine the both shaders into one? Whatever the best solution is please guide.
Could you kindly assist me in resolving this issue and provide guidance on how to effectively apply multiple shaders.
If you want to tinker with Toon shader, then you might A) find another one that is made using Shader Graph; B) Dig into the code of it and add Fresnel effect there. Tinkering with shader code isn't that scary, unless you are trying to write your own for the first time... Then you're screwed. You can look at the code of generated Shader Graph if you are a brave soul. It is barely readable. If you'll try to generate similar graph with ShaderForge, then you'll be in better luck. It generates simple shader code. No variant and crazy optimisations shenanigans.
– zORg_alexUnderstood, thank you for your suggestion. I find it quite intriguing that don't game developers might encounter such a need during developing game?. So why there is no easy and straight forward way to just use 2 shaders at the same time?
– Eradali