1
/* metal.sl - Standard metal 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.
13
float roughness = .1;)
15
point Nf = faceforward (normalize(N),I);
16
/* point Nf = normalize(N);*/
17
point V = -normalize(I);
19
Ci = Os * Cs * (Ka*ambient() + Ks*specular(Nf,V,roughness));