rsmetal - Simulate a shiny reflective metal.
Surface "rsmetal" "Ka" n "Ks" n "Kr" n "roughness" n
float Ka=1.0, Ks=1.0, Kr=1.0, roughness=0.1,
This shader is very similar to the shinymetal shader in The RenderMan Companion, except that it uses random data for the reflection instead of requiring an environment map. The parameter Kr controls the intensity of the reflection. This shader is not recommended for simple spheres, but for objects with more complex curvature it produces a chrome-plated look.
The parameters Ka,Ks and Kr have the usual meanings of ambient, and specular reflective intensities, respectively. roughness controls the sharpness of the specular highlight.
Pixar Animation Studios