Aggregate material (smAgg)

key: smAgg

type: lobe(lobe)*(C)*

  1. lobe: any number of lobes from the bl* or el* classes.
  2. Optional chunks, e.g. a bump map (bmpMp)

Description

A material combining one or more simple elements to model complex BRDF behavior, such as multi-layer effects. All lobes will be evaluated (or sampled) and the results simply added together.

BRDF

Sum of BSDFs of all individual lobes (may include transmission)

Examples


  smAgg
    blLmbrtn rgb 0.1 0.7 0.2 end end         % a green Lambertian material
  end
	     
  smAgg
    blLmbrtn spctrl 400 0.1 700 0.8 end end  % a red material
    blPhng                                   % with a Phong highlight
      spctrl 400 .6 700 .6 end
      spctrl 400 30 700 30 end
    end
  end