[Advice/Help Needed] Outline Shader

Hi,

I am doing some learning tests and to achieve something good I would like to apply to my test an Outline Shader. I am not good in writing my own shader so I tried to dig the internet a bit and I found following page.

The Outline works perfectly fine, unfortunately I am not able to achieve one thing which is a key in my situation.
The screenshots will explain what I would like to achieve:

The first one is the one which is receiving from the package quick outline from asset store:

The second one is what I would like to achieve:

My question is: Can we modify this Shader to be able decide that the specific object or group of objects will be always visible on front of another outline?

Like I said I do not understand how this works, I am trying to figure out this for 3 days so far and any help will be super handy.

Thank you,
Bart


Ok I found solution.
To have outline on top of another outline we have to use Forward Renderer which is attached to URP.
There we need to leave it the top one as it is and hit ‘Add Renderer Feature’
Then I changed:
Event = After Rendering Opaques (or anything just test it which one works the best)
Filters/Queue = Transparent
filters/LayerMask = select ‘Nothing’ then select the layer which one should be visible on front of other Outlines

and thats all. It will produce Outline on front of another outline.
Hope someone will find this handy.