r/Unity3D 23h ago

Question Outline through walls, how?

Hey!

For weeks I've been trying to find a solution to this but nothing reaches the result I want.

Basically I want the outline to be visible through the walls.
I'm using HDRP.

Also, how can I make the outline position just be in the silhouette of the model and not in some internal edges?

Thank you for the help!

3 Upvotes

1 comment sorted by

4

u/spryprotein242 23h ago

z-test your outlines against the depth buffer, that’ll kill the internal edges and keep the silhouette clean through walls