DISPLACEMENT

THE BOX'S MAIN HELP:
This function returns the displacement amount.
DIR is the direction of the displacement.
AMP is the amplitude of the displacement.
VAL is the displacement value.

DIR (input):
This must be a vector.  The default is the surface normal.
This is the direction of the displacement.

AMP (input):
This must be a scalar.  The default is 0.05.
This is the amplitude of the displacement.

VAL (input):
This must be a scalar.  The default is 0.0.
This is the displacement value.

DIS (output):
This is the displacement amount.

<-- BACK TO Shaders

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