This is a shader which fakes the sub surface scattering effect in RenderMan efficiently.

Here is the algorithm for the shader:

  1. Before anything else, backup the point and normal attributes of the surface, and set the opacity
  2. Setup the reflections t...