1
/* matte.sl - Standard matte surface for RenderMan Interface.
2
* (c) Copyright 1988, Pixar.
4
* The RenderMan (R) Interface Procedures and RIB Protocol are:
5
* Copyright 1988, 1989, Pixar. All rights reserved.
6
* RenderMan (R) is a registered trademark of Pixar.
9
surface matte (float Ka = 1;
12
point Nf = faceforward (normalize(N),I);
14
Ci = Os * Cs * (Ka * ambient() + Kd * diffuse(Nf));