Changeset 2404 for GTP/trunk/App/Demos/Illum/Ogre/Media/PMDemo
- Timestamp:
- 06/05/07 01:57:13 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/PMDemo/PRMDemo.material
r2337 r2404 7 7 IllumTechniques 8 8 { 9 RenderTechnique PathMap 9 10 RenderTechnique PathMap 10 11 { 11 12 } 13 RenderTechnique DepthShadowReceiver 14 { 15 max_light_count 2 16 vertex_program_name GTP/Basic/LightCPos_VS 17 fragment_program_name GTP/Basic/SM/Dist_VSM_PS 18 set_light_view true 19 set_light_farplane true 20 light_viewproj_param_name LightViewProj 21 light_view_param_name LightView 22 light_farplane_param_name lightFarPlane 23 world_view_proj_param_name WorldViewProj 24 world_param_name World 25 } 12 pass_blending one one 13 } 14 15 26 16 } 27 17 vertex_program_ref GTP/Basic/ShadedTex_VS … … 31 21 param_named_auto WorldInv inverse_world_matrix 32 22 } 33 fragment_program_ref GTP/Basic/Shaded/Textured OneLight_PS23 fragment_program_ref GTP/Basic/Shaded/TexturedTwoLights_PS 34 24 { 35 param_named_auto lightPos light_position 0 36 param_named_auto lightDir light_direction 0 37 param_named_auto lightColor light_diffuse_colour 0 38 param_named_auto lightPower light_power 0 25 param_named_auto lightPos1 light_position 0 26 param_named_auto lightDir1 light_direction 0 27 param_named_auto lightColor1 light_diffuse_colour 0 28 param_named_auto lightPower1 light_power 0 29 30 param_named_auto lightPos2 light_position 1 31 param_named_auto lightDir2 light_direction 1 32 param_named_auto lightColor2 light_diffuse_colour 1 33 param_named_auto lightPower2 light_power 1 39 34 } 40 35 texture_unit color … … 116 111 } 117 112 } 113 114 115 116 RenderTechnique DepthShadowReceiver 117 { 118 pass_blending one zero 119 max_light_count 1 120 vertex_program_name GTP/Basic/LightCPos_VS 121 //fragment_program_name GTP/Basic/SM/Dist_VSM_PS 122 fragment_program_name GTP/Basic/SM/Dist_PS 123 set_light_view true 124 set_light_farplane true 125 light_viewproj_param_name LightViewProj 126 light_view_param_name LightView 127 light_farplane_param_name lightFarPlane 128 world_view_proj_param_name WorldViewProj 129 world_param_name World 130 } 131 132 133 RenderTechnique DepthShadowReceiver 134 { 135 pass_blending zero src_colour 136 max_light_count 1 137 vertex_program_name GTP/Basic/LightCPos_VS 138 //fragment_program_name GTP/Basic/SM/Dist_VSM_PS 139 fragment_program_name GTP/Basic/SM/Dist_PS 140 set_light_view true 141 set_light_farplane true 142 light_viewproj_param_name LightViewProj 143 light_view_param_name LightView 144 light_farplane_param_name lightFarPlane 145 world_view_proj_param_name WorldViewProj 146 world_param_name World 147 }
Note: See TracChangeset
for help on using the changeset viewer.