1
/* I took wave's lead and renamed proctexh.h to DPProctext.h -- tal@cs.caltech.edu */
4
* Preprocessor macros for use in RenderMan shaders.
5
* Darwyn Peachey, June, 1994.
8
#define snoise(x) (2*noise(x) - 1)
9
#define PULSE(a,b,x) (step((a),(x)) - step((b),(x)))
10
#define boxstep(a,b,x) clamp(((x)-(a))/((b)-(a)),0,1)