Rendering fps weapons, but not with a 2nd camera?

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?

You could try using some “see through” shaders. I bet you can find some by googling.

1 Like

Not exactly sure what you mean :slight_smile: Isn’t there a way to make an gameobject render on top of everything without using a extra camera using code?