// ------------------------------- // Cel Shading Section // ------------------------------- vertex_program CelShadingVPCg cg { source demos/kidkitchen/programs/CelShading.cg entry_point main_vp profiles vs_4_0 vs_3_0 vs_1_1 arbvp1 default_params { param_named_auto lightPosition light_position_object_space 0 param_named_auto eyePosition camera_position_object_space param_named_auto worldViewProj worldviewproj_matrix param_named shininess float 10 } } fragment_program CelShadingFPCg cg { source demos/kidkitchen/programs/CelShading.cg entry_point main_fp profiles ps_4_0 ps_3_0 ps_2_0 ps_1_1 arbfp1 fp20 default_params { param_named_auto diffuse surface_diffuse_colour param_named_auto specular surface_specular_colour } } vertex_program CelShadingVPhlsl hlsl { source demos/kidkitchen/programs/CelShading.hlsl entry_point main_vp target vs_4_0 vs_4_0_level_9_1 vs_4_0_level_9_3 default_params { param_named_auto lightPosition light_position_object_space 0 param_named_auto eyePosition camera_position_object_space param_named_auto worldViewProj worldviewproj_matrix param_named shininess float 10 } } fragment_program CelShadingFPhlsl hlsl { source demos/kidkitchen/programs/CelShading.hlsl entry_point main_fp profiles ps_4_0 ps_4_0_level_9_1 ps_4_0_level_9_3 default_params { param_named_auto diffuse surface_diffuse_colour param_named_auto specular surface_specular_colour } } vertex_program CelShadingVPGLSLES glsles { source demos/kidkitchen/programs/CelShadingVp.glsles profiles glsles default_params { param_named_auto lightPosition light_position_object_space 0 param_named_auto eyePosition camera_position_object_space param_named_auto worldViewProj worldviewproj_matrix param_named shininess float 10 } } fragment_program CelShadingFPGLSLES glsles { source demos/kidkitchen/programs/CelShadingFp.glsles profiles glsles default_params { param_named_auto diffuse surface_diffuse_colour param_named_auto specular surface_specular_colour param_named diffuseMap int 0 param_named diffuseRamp int 1 param_named specularRamp int 2 param_named edgeRamp int 3 } } vertex_program CelShadingVPGLSL glsl { source demos/kidkitchen/programs/CelShadingVp.glsl syntax glsl120 default_params { param_named_auto lightPosition light_position_object_space 0 param_named_auto eyePosition camera_position_object_space param_named_auto worldViewProj worldviewproj_matrix param_named shininess float 10 } } fragment_program CelShadingFPGLSL glsl { source demos/kidkitchen/programs/CelShadingFp.glsl syntax glsl120 default_params { param_named_auto diffuse surface_diffuse_colour param_named_auto specular surface_specular_colour param_named diffuseMap int 0 param_named diffuseRamp int 1 param_named specularRamp int 2 param_named edgeRamp int 3 } } fragment_program CelShadingFP unified { delegate CelShadingFPhlsl delegate CelShadingFPGLSL delegate CelShadingFPGLSLES delegate CelShadingFPCg } vertex_program CelShadingVP unified { delegate CelShadingVPhlsl delegate CelShadingVPGLSL delegate CelShadingVPGLSLES delegate CelShadingVPCg }