Changeset 2442 for GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts
- Timestamp:
- 06/12/07 12:04:31 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/difflab.material
r2404 r2442 12 12 target ps_3_0 13 13 } 14 15 16 17 14 18 15 19 material Difflab/TexturedPhong … … 21 25 pass 0 22 26 { 23 27 IllumTechniques 28 { 29 30 // RenderTechnique CausticReceiver 31 // { 32 // max_caster_count 1 33 // } 34 RenderTechnique DepthShadowReceiver 35 { 36 max_light_count 3 37 vertex_program_name GTP/Basic/LightCPos_VS 38 fragment_program_name GTP/Basic/SM/Dist_VSM_PS 39 set_light_view true 40 set_light_farplane true 41 light_viewproj_param_name LightViewProj 42 light_view_param_name LightView 43 light_farplane_param_name lightFarPlane 44 world_view_proj_param_name WorldViewProj 45 world_param_name World 46 nearest_from_camera false 47 } 48 } 49 24 50 vertex_program_ref PhongViewSpaceVS 25 51 { … … 111 137 pass 112 138 { 113 IllumTechniques 114 { 115 116 // RenderTechnique CausticReceiver 117 // { 118 // max_caster_count 1 119 // } 120 RenderTechnique DepthShadowReceiver 121 { 122 max_light_count 3 123 vertex_program_name GTP/Basic/LightCPos_VS 124 fragment_program_name GTP/Basic/SM/Dist_VSM_PS 125 set_light_view true 126 set_light_farplane true 127 light_viewproj_param_name LightViewProj 128 light_view_param_name LightView 129 light_farplane_param_name lightFarPlane 130 world_view_proj_param_name WorldViewProj 131 world_param_name World 132 nearest_from_camera false 133 } 134 } 139 135 140 136 141 ambient 0.37606 0.37606 0.37606 1 … … 149 154 pass 0 150 155 { 151 IllumTechniques 152 { 153 154 //RenderTechnique CausticReciever 155 //{ 156 // max_caster_count 1 157 //} 158 RenderTechnique DepthShadowReciever 159 { 160 max_light_count 3 161 vertex_program_name GTP/Basic/LightCPos_VS 162 fragment_program_name GTP/Basic/SM/Dist_VSM_PS 163 set_light_view true 164 set_light_farplane true 165 light_viewproj_param_name LightViewProj 166 light_view_param_name LightView 167 light_farplane_param_name lightFarPlane 168 world_view_proj_param_name WorldViewProj 169 world_param_name World 170 nearest_from_camera false 171 } 172 } 156 173 157 fragment_program_ref 174 158 { … … 193 177 pass 194 178 { 195 IllumTechniques 196 { 197 198 // RenderTechnique CausticReceiver 199 // { 200 // max_caster_count 1 201 // } 202 RenderTechnique DepthShadowReceiver 203 { 204 max_light_count 3 205 vertex_program_name GTP/Basic/LightCPos_VS 206 fragment_program_name GTP/Basic/SM/Dist_VSM_PS 207 set_light_view true 208 set_light_farplane true 209 light_viewproj_param_name LightViewProj 210 light_view_param_name LightView 211 light_farplane_param_name lightFarPlane 212 world_view_proj_param_name WorldViewProj 213 world_param_name World 214 nearest_from_camera false 215 } 216 } 179 217 180 fragment_program_ref 218 181 { … … 251 214 pass 0 252 215 { 253 IllumTechniques 254 { 255 256 //RenderTechnique CausticReceiver 257 //{ 258 // max_caster_count 1 259 //} 260 RenderTechnique DepthShadowReceiver 261 { 262 max_light_count 3 263 vertex_program_name GTP/Basic/LightCPos_VS 264 fragment_program_name GTP/Basic/SM/Dist_VSM_PS 265 set_light_view true 266 set_light_farplane true 267 light_viewproj_param_name LightViewProj 268 light_view_param_name LightView 269 light_farplane_param_name lightFarPlane 270 world_view_proj_param_name WorldViewProj 271 world_param_name World 272 nearest_from_camera false 273 } 274 } 216 217 275 218 fragment_program_ref 276 219 { … … 298 241 { 299 242 300 //RenderTechnique CausticReceiver 301 //{ 302 // max_caster_count 1 303 //} 304 RenderTechnique DepthShadowReceiver 305 { 306 max_light_count 3 307 vertex_program_name GTP/Basic/LightCPos_VS 308 fragment_program_name GTP/Basic/SM/Dist_VSM_PS 309 set_light_view true 310 set_light_farplane true 311 light_viewproj_param_name LightViewProj 312 light_view_param_name LightView 313 light_farplane_param_name lightFarPlane 314 world_view_proj_param_name WorldViewProj 315 world_param_name World 316 nearest_from_camera false 317 } 318 } 243 319 244 fragment_program_ref 320 245 { … … 357 282 pass 0 358 283 { 359 IllumTechniques 360 { 361 362 //RenderTechnique CausticReceiver 363 //{ 364 // max_caster_count 1 365 //} 366 RenderTechnique DepthShadowReceiver 367 { 368 max_light_count 3 369 vertex_program_name GTP/Basic/LightCPos_VS 370 fragment_program_name GTP/Basic/SM/Dist_VSM_PS 371 set_light_view true 372 set_light_farplane true 373 light_viewproj_param_name LightViewProj 374 light_view_param_name LightView 375 light_farplane_param_name lightFarPlane 376 world_view_proj_param_name WorldViewProj 377 world_param_name World 378 nearest_from_camera false 379 } 380 } 284 285 381 286 fragment_program_ref 382 287 {
Note: See TracChangeset
for help on using the changeset viewer.