Near and Far Clipping Planes

The camera frustum is determined by six clipping planes: the left, right, top, bottom, near, and far clipping planes. The depth of the frustum is affected by the near and far. The values for these channels are expressed in pixels relative to the position of the camera.

Set the Near and Far clipping planes to the lowest and highest respective values that produce the desired result. If the distance between the near and far clipping planes is much larger than is required to contain all the objects in the scene, the image quality of some objects may be poor.

Tip: Objects that you want to render are usually within a certain range from the camera. Setting the near and far clipping planes just slightly beyond the limits of the objects in the scene can help improve image quality.

The ratio of far:near clipping planes determines the depth precision. Try to keep that ratio as small as possible for better results. Since most of the depth precision is concentrated around the near clip plane, try to avoid a lot of detail on distant objects.