vertex_program cp_vsLightGENNORM01_CG cg { source demos/car_showroom/programs/carpaint.cg profiles vs_1_1 arbvp1 entry_point cp_vsLightGENNORM01 default_params { param_named_auto wMat world_matrix param_named_auto wvpMat worldviewproj_matrix param_named_auto spotlightDir0 light_direction_object_space 0 param_named_auto spotlightDir1 light_direction_object_space 1 param_named_auto spotlightDir2 light_direction_object_space 2 } } vertex_program cp_vsLightGENNORM01_GLSLES glsles { source demos/car_showroom/programs/cp_vsLightGENNORM01VP.glsles profiles glsles default_params { param_named_auto wMat world_matrix param_named_auto wvpMat worldviewproj_matrix param_named_auto spotlightDir0 light_direction_object_space 0 param_named_auto spotlightDir1 light_direction_object_space 1 param_named_auto spotlightDir2 light_direction_object_space 2 } } vertex_program cp_vsLightGENNORM01 unified { delegate cp_vsLightGENNORM01_CG delegate cp_vsLightGENNORM01_GLSLES } fragment_program cp_fpLightGENDIFF0SPEC1NORM1FresnelREF_CG cg { source demos/car_showroom/programs/carpaint.cg profiles ps_3_0 arbfp1 entry_point cp_fpLightGENDIFF0SPEC1NORM1FresnelREF default_params { param_named_auto ambient ambient_light_colour param_named_auto lightDif0 light_diffuse_colour 0 param_named_auto lightPos0 light_position 0 param_named_auto lightAtt0 light_attenuation 0 param_named_auto lightSpec0 light_specular_colour 0 param_named_auto lightDif1 light_diffuse_colour 1 param_named_auto lightPos1 light_position 1 param_named_auto lightAtt1 light_attenuation 1 param_named_auto lightSpec1 light_specular_colour 1 param_named_auto lightDif2 light_diffuse_colour 2 param_named_auto lightPos2 light_position 2 param_named_auto lightAtt2 light_attenuation 2 param_named_auto lightSpec2 light_specular_colour 2 param_named_auto camPos camera_position param_named_auto matAmb surface_ambient_colour param_named_auto matEmissive surface_emissive_colour param_named_auto matDif surface_diffuse_colour param_named_auto matSpec surface_specular_colour param_named_auto matShininess surface_shininess param_named_auto spotlightParams0 spotlight_params 0 param_named_auto spotlightParams1 spotlight_params 1 param_named_auto spotlightParams2 spotlight_params 2 param_named_auto iTWMat inverse_transpose_world_matrix param_named normalMul float 1 param_named reflectivity float 1.0 param_named fresnelMul float 1.0 param_named fresnelPow float 1.0 } } fragment_program cp_fpLightGENDIFF0SPEC1NORM1FresnelREF_GLSLES glsles { source demos/car_showroom/programs/cp_fpLightGENDIFF0SPEC1NORM1FresnelREFFP.glsles profiles glsles default_params { param_named_auto ambient ambient_light_colour param_named_auto lightDif0 light_diffuse_colour 0 param_named_auto lightPos0 light_position 0 param_named_auto lightAtt0 light_attenuation 0 param_named_auto lightSpec0 light_specular_colour 0 param_named_auto lightDif1 light_diffuse_colour 1 param_named_auto lightPos1 light_position 1 param_named_auto lightAtt1 light_attenuation 1 param_named_auto lightSpec1 light_specular_colour 1 param_named_auto lightDif2 light_diffuse_colour 2 param_named_auto lightPos2 light_position 2 param_named_auto lightAtt2 light_attenuation 2 param_named_auto lightSpec2 light_specular_colour 2 param_named_auto camPos camera_position param_named_auto matAmb surface_ambient_colour param_named_auto matEmissive surface_emissive_colour param_named_auto matDif surface_diffuse_colour param_named_auto matSpec surface_specular_colour param_named_auto matShininess surface_shininess param_named_auto spotlightParams0 spotlight_params 0 param_named_auto spotlightParams1 spotlight_params 1 param_named_auto spotlightParams2 spotlight_params 2 param_named_auto iTWMat inverse_transpose_world_matrix param_named normalMul float 1 param_named reflectivity float 1.0 param_named fresnelMul float 1.0 param_named fresnelPow float 1.0 param_named diffuseMap int 0 param_named specMap int 1 param_named normalMap int 2 param_named reflectMap int 3 } } fragment_program cp_fpLightGENDIFF0SPEC1NORM1FresnelREF unified { delegate cp_fpLightGENDIFF0SPEC1NORM1FresnelREF_CG delegate cp_fpLightGENDIFF0SPEC1NORM1FresnelREF_GLSLES }