vertex_program button_vsAmbGEN0 cg { source demos/FPSDemo/elements/button/program/button.cg profiles vs_1_1 arbvp1 entry_point button_vsAmbGEN0 default_params { param_named_auto wvpMat worldviewproj_matrix } } fragment_program button_fpAmbGENDIFF0 cg { source demos/FPSDemo/elements/button/program/button.cg profiles ps_2_x arbfp1 entry_point button_fpAmbGENDIFF0 default_params { param_named_auto ambient ambient_light_colour param_named_auto matAmb surface_ambient_colour param_named_auto matEmissive surface_emissive_colour } } vertex_program button_vsLightGEN0 cg { source demos/FPSDemo/elements/button/program/button.cg profiles vs_1_1 arbvp1 entry_point button_vsLightGEN0 default_params { param_named_auto wMat world_matrix param_named_auto witMat inverse_transpose_world_matrix param_named_auto wvpMat worldviewproj_matrix param_named_auto spotlightDir light_direction_object_space 0 } } fragment_program button_fpLightGENDIFF0 cg { source demos/FPSDemo/elements/button/program/button.cg profiles ps_2_x arbfp1 entry_point button_fpLightGENDIFF0 default_params { param_named_auto lightDif0 light_diffuse_colour 0 param_named_auto lightSpec0 light_specular_colour 0 param_named_auto camPos camera_position param_named_auto matShininess surface_shininess param_named_auto matDif surface_diffuse_colour param_named_auto matSpec surface_specular_colour param_named_auto lightPos0 light_position 0 param_named_auto lightAtt0 light_attenuation 0 param_named_auto spotlightParams spotlight_params 0 } }