BUMP

THE BOX'S MAIN HELP:
This function generates a preturbed normal 
which can be used to generate a bump pattern.
PP  is the point to be bumping.
DIR is the direction vector for the bumping.
AMP is the amplitude of the bumping.
VAL is the bumping value.

PP (input):
This must be a point.  The default is is the surface point, P.
This is the point to be bumped.

DIR (input):
This must be a normal.  The default is is the surface normal, N.
This is the direction vector for the bumping.

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

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

NN (output):
This function generates a preturbed normal 
which can be used to generate a bump pattern.

R (output):
This is the reflection vector generated from the preturbed normal.
It can be used for reflections which follow the bump pattern.

<-- BACK TO Shaders

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