Is it possible to change the near clipping plane?

I have some small objects that disappear when I get too close to them. Is it possible to adjust the near clip?

6 Likes

Open menu Edit → Project Settings → General Settings, there is a Near Clip Plane that you can change.

15 Likes

You need to restart editor to see changes. Always when you will tweak near plane distance…

15 Likes

Don’t set it to 0, it’ll bug things out. Set it to something small like .1 instead.

11 Likes

You are a god Nerdballer. Thank you for that piece of advice!!

1 Like

Don’t set it to 0,or something like dividing by 0 will happen

3 Likes

This was a great complement to BiggestSmile reply. Thank you!

2 Likes

äøčƒ½č®¾ē½®å°äŗŽ1ēš„å€¼ļ¼Œē›®å‰ęœ€å°å€¼å„½åƒę˜Æ1.
mayaé‡Œé¢åÆä»„č®¾ē½®0.001

1 Like

You can change also fix it by doing this : https://www.youtube.com/watch?v=Yo6VmXsGMSw

And what then, when you wish to change this dynamically? Truthfully, it’s a very simple fix - by just changing a single floating-point value and recompute the camera’s projection matrix.


I didn’t want to accept that it wasn’t possible, so after some search I found this console command:

r.SetNearClipPlane 10

This will set the camera clip plane dynamically to 10 unreal units (1uu == 1cm per default).

And here is a Blueprint setup in Level Blueprint to showcase:

I spend ā€œwayā€ too long on this. :slight_smile:

4 Likes

I’m not sure it works 10 years ago, maybe, but I’m glad you find other solution :wink:

Sorry for kind of necroing, but I found something else

Two points.

  1. It cannot be 0 like everyone has has said
  2. Starting somewhere in version 5.?, in order to use Near Clip Plane settings dynamically, it appears you need to also enable a setting called ā€Support global clip plane for Planar Reflectionsā€ otherwise it won’t work dynamically.

More notes on #2. I was able to get it set once and forget, but dynamically changing a portals/scene captures render required me to check that box. Maybe you don’t need to change that box for main player camera console commands, I can only comment about getting a portal/scene capture to work.

This also only appears to apply to dynanically changing the Clip Normal and Clip Base settings. The ā€œCustom near clippingā€ one doesn’t appear to work regardless for me, but I didn’t end up needing it. Maybe a conflict between the two settings