Hello Everyone,
im totally new to Shaders and rendering in Unity, so i have few Questions.
before my questions i would like to say that im aware about URP but im using Entities (Hybred Renderer) and they are currently not compatible, also my game is for Mobile devices.
-
i have a shader A doing Outlines and another B doing dissolve effects is it possible to use both of them on the same Character GameObject ? if yes how ?
-
is it possible to highlight objects behind other objects without using the URP ?
like bellow:

Thank you!
Not quite sure what you mean with 1, but the answer for 2 is yes, I believe there used to be some shader code on the wiki, not sure if it’s still around, but you should be able to find stuff with a bit of Google-fu.
1 Like
let’s say i have 2 shaders each one has it’s own effect is it possible to use both of them on a single gameobject ?
At the same time? At different times? On different parts of the mesh?
You can run two shaders on the same object by having two materials in the materials list on their Renderer. Or combining the two shaders into a single multi-pass shader.
As for the dissolve, you would have to utilize the dissolve shader code inside the outline shader’s code if this is an outline shader that’s just working by expanding mesh and rendering backface.
1 Like