DOF_LENS

THE BOX'S MAIN HELP:
This implements a depth of field lens effect.
PLN is the negative distance of the focal plane from the camera.
RAD is the radius of the disc centered at the camera.

PLN (input):
This must be a scalar.  The default is -1000.0.
This is the negative distance of the focal plane from the camera.
This distance must always be less than 0.

RAD (input):
This must be a scalar.  The default is 0.2.
The wider the radius, the greater the effect.
A value of 0 turns depth of field off.

OUT (output):
This is the returned color for the jittered pixel.

<-- BACK TO Shaders

© Copyright 1996,1998 Cinema Graphics Inc. All Rights reserved.