UnityFx.Outline icon indicating copy to clipboard operation
UnityFx.Outline copied to clipboard

How to avoid drawing outline on other objects?

Open efeurun opened this issue 2 years ago • 3 comments

image

Hey, any way to avoid drawing on top of other objects? I.E. the couch also draws on top of player character in this screenshot.

efeurun avatar Jul 22 '22 02:07 efeurun

Try enabling depth testing in outline settings.

Arvtesh avatar Dec 11 '22 09:12 Arvtesh

Hey! Thanks for the response.

image

Enabling Depth Testing causes parts of the outline to be rendered on player instead of the object. Can't seem to make it completely ignore the player.

efeurun avatar Dec 11 '22 23:12 efeurun

@Arvtesh Clip on intersect I think is what a few other depth based outline tools call it

image

I have been shopping around as I haven't managed to sort the issue with URP Web GL build ... on the up side I have found other depth based outline tools with issues on Web GL 😄 .... ☹️

JamesMcGhee avatar Jul 06 '23 22:07 JamesMcGhee