- Home /
How to make an object visible through walls
Hi, I want to make an object visible through walls but I'm at a bit of a loss as to how I might go about it. Basically I want to be able to see this object no matter what is between the camera and it.
Any ideas?
Answer by whydoidoit · Mar 25, 2013 at 12:56 PM
Either use a shader that ignores Z depth see http://answers.unity3d.com/questions/26486/display-complex-object-when-it-is-behind-the-wall.html
Or use a second camera with a higher depth that clears the depth buffer only and just renders a layer containing your object.
Answer by toorican · Oct 20, 2021 at 02:19 PM
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/ https://assetstore.unity.com/packages/vfx/shaders/see-through-shader-193955
Greetings Toorican
Your answer
Follow this Question
Related Questions
How to make an object visible through walls 1 Answer
3ds max model mesh see trough? 2 Answers
Renderer on object disabled after level reload 1 Answer
See-through Bullet Holes 1 Answer