// ------------------------------- // Cel Shading Section // ------------------------------- vertex_program CelShadingVP cg { source examples/media/program/CelShading.cg entry_point main_vp profiles vs_1_1 vp40 vp30 vp20 default_params { param_named_auto lightPosition light_position_object_space 0 param_named_auto eyePosition camera_position_object_space param_named_auto worldViewProjection worldviewproj_matrix param_named_auto shininess surface_shininess } } fragment_program CelShadingFP cg { source examples/media/program/CelShading.cg entry_point main_fp profiles ps_2_0 fp40 fp30 fp20 default_params { param_named_auto lightDiffuseColor light_diffuse_colour 0 param_named_auto lightSpecularColor light_specular_colour 0 param_named_auto diffuseColor surface_diffuse_colour param_named_auto specularColor surface_specular_colour } }