I'm trying to make a stencil buffer that only renders the Alpha cutout of a 3D object or Sprite.

I’m new to URP, so I checked a URP outline effect for my game:

which gives this result:

I was able to convert multiple effects from the old format to URP, so I’m trying to make an outline, from what I checked in the Frame Debugger, the stencil buffer detects the full object in render, so I’m trying to see if it can detect the alpha of an object and the render only visible parts:

Any help will be welcome.

Okay after working some things out on the I fixed the Stencil buffer, but the outline is still giving me problems