Example 1: Render Passes

Text    hb_plastic.sl    prepare.rib    interact.sl    interact.rib    Makefile

interact.rib

Attribute "identifier" "string name" ["mixer"]

 

Surface "interact.sl"

 

Attribute "identifier" "string name" ["geometry"]

 

Geometry "image" "filename" [ "ambient.tif:Cambient"

"diffuse.tif:Cdiffuse"

"specular.tif:Cspecular" ]