See through walls

I Need a script where when a character is behind a object you can see the character outside with a certain colour so you can tell they are there, For sideview or topdown games.

You would need to trigger a change of shader(to transparent) when the player (or camera) is in a certain position.

Transparent Shader Family

Hi If your still looking for a solution check our Asset as this is custom made shader for this use case. It can handle multi user multi buildings ( obstructions ) and is available for Standard URP and HDRP .

https://forum.unity.com/threads/rel...isible-within-buildings-std-urp-hdrp.1182130/

Greetings Toorican