The "top" camera is removing image effects from the bottom.

So, I’m having a bit a issue. I have two cameras, one for the environment and one my first person weapon (being used as a culling mask to prevent the gun from going into the walls). My issue is that I want to apply the SSAO image effect to the environment camera, however, because the weapon camera has a higher depth, it removes the filter. And I can’t add the effect the weapon camera because all it’s rendering is just the gun. Does anybody have any ideas?

Thanks! And if you need more info, let me know.

I would suggest using one camera and use a special shader for the gun that doesn’t do a depth test(ZTest Always).

Additionally you could also set the render queue to something behind transparent so it’s drawn at last, but that’s not really necessary.

Try to set the clear flags to the weapon camera to Don’t clear because you need the depth for the SSAO (see Screen space ambient occlusion - Wikipedia).