clip_near

clip_far

Near and far clipping range of a view. Objects will be cut off along a sharp border when they are either closer or more distant than the given range.

Range:

clip_near: 1 ..unlimited, default 15 .
clip_far: clip_near..unlimited, default 50000 .

Type:

var

Remarks:

Example:

camera.clip_near = 5; 	// allows to go very close to objects
camera.clip_far = 10000; // reduce clip_far for preventing sorting errors

See also:

fog_start, z_near, clip_particles, depth

► latest version online