Sha256: 7a6758d2bba5fc0451b45ee89736446128bb8fa4f011a3c3ee1a8517a9b1fb8e
Contents?: true
Size: 1.39 KB
Versions: 5
Compression:
Stored size: 1.39 KB
Contents
// ------------------------------- // Cel Shading Section // ------------------------------- vertex_program Ogre/CelShadingVP cg { source CelShading.cg entry_point main_vp profiles 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 Ogre/CelShadingFP cg { source CelShading.cg entry_point main_fp profiles ps_1_1 arbfp1 fp20 } material CelShading { technique { pass { vertex_program_ref Ogre/CelShadingVP { // map shininess from custom renderable param 1 param_named_auto shininess custom 1 } fragment_program_ref Ogre/CelShadingFP { // map diffuse from custom renderable param 2 param_named_auto diffuse custom 2 // map specular from custom renderable param 2 param_named_auto specular custom 3 } texture_unit { texture cel_shading_diffuse.png 1d tex_address_mode clamp filtering none } texture_unit { texture cel_shading_specular.png 1d tex_address_mode clamp filtering none tex_coord_set 1 } texture_unit { texture cel_shading_edge.png 1d tex_address_mode clamp filtering none tex_coord_set 2 } } } }
Version data entries
5 entries across 5 versions & 2 rubygems