vertex_program Examples/AmbientShadingVP glsl { //source ambient.vert //source diffuse.vert source toonf2.vert } fragment_program Examples/AmbientShadingFP glsl { //source ambient.frag //source diffuse.frag source toonf2.frag } material Examples/Toon { // Software blending technique technique { pass { vertex_program_ref Examples/AmbientShadingVP { // map shininess from custom renderable param 1 //param_named_auto shininess custom 1 } fragment_program_ref Examples/AmbientShadingFP { // map shininess from custom renderable param 1 //param_named_auto shininess custom 1 } } } } material Examples/Robot { technique { pass { lighting on texture_unit { texture r2skin.jpg } } } }