Overlay render queue

So i know it’s possible to use overlay to render a transparent shader on top of another.

but what happens if 2 shaders has that same overlay property, and are overlapping at the same spot? z-fight?

and can i make a render priority in the shader? so i can decide when to render them and in what order, similar to how overlay always is on top, but in an ID list?

Yes, that’s what the render queues are for. http://unity3d.com/support/documentation/Components/SL-SubshaderTags.html

oh i see, thanks!

And for those of you who want a link that isn’t broken: http://docs.unity3d.com/Manual/SL-SubShaderTags.html