Aggregate material with subsurface scattering (slpm)

key: slpm

type: lobe(lobe)*

  1. lobe: any number of lobes from the bl* or el* classes (for surface scattering), plus a BSSRDF lobe (see slbssrdf lobe).

Description

A material similar to the Aggregate lobe, but allowing point-to-point light transfer within the material. Typically there will be one or more lobes for the surface scattering, plus one slbssrdf lobe for subsurface transport. All lobes will be evaluated (or sampled) and the results simply added together.

BRDF

Sum of BSDFs of all individual lobes (may include transmission and BSSRDF).

Examples


  slpm
     slbssrdf
        sclr 1.3 end	% relative index of refraction
        rgb 0.0021 0.0041 0.071	% mu_a, absorption coefficient
        rgb 2.19 2.62 3 end	% mu_s, scattering coefficient
        rgb 0.0 0.0 0.0		% g,    directionality parameter
				%  for Henyey-Greenstein phase function
     end
     blPhng			% with a Phong highlight
        sclr 0.3 end
        sclr 30 end
     end
  end