The usual way to make fps weapons not clipping through walls is with a second camera with a higher depth value. This causes problems for me when I want to use Image Effects, like SSAO for example… The SSAO won’t render when having two cameras.
So… Is there a way to have the weapons not clipping through walls without using multiple cameras? I found a script on the forums which was supposed to solve this, using two cameras, but it doesn’t seem to work very well with the shaders I use in my scenes…
There has to be a work-around for this using scripts, right?