Unity Clipping Planes

If I set the clipping planes Near value to 0.2 I get image1, image1a is zoomed in
If I set the clipping planes Near value to 0.9 I get image2

So How do I get the camera not to cut off my cannon but still display distant objects correctly?

1371530--69088--$image1a.png
Thanks

You’ll need to add another camera and make use of layers and culling…

  • Create and apply a new layer for your gun (or any other near object)
  • Set your “near” camera’s near-clip to 0.2, far-clip 0.9, depth 1, set the cull mask to your newly created layer
  • Add a new “far” camera
  • Set the near-clip to 0.9, far-clip to 10.0 (or whatever you require), depth 0, then set the cull to all BUT your newly created layer

Thanks that fixed the issue but now If i look down the ground is not getting drawn close to the camera

Thanks
Brandon

Ok I figured it out I just added the ground to my cannon layer now all works like it should