- Timestamp:
- 01/08/07 13:11:05 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/MetalTeapot.material
r1929 r1955 185 185 } 186 186 187 material MetalTeapotMultipleBounce 187 material MetalTeapotMultipleBounce_0 188 188 { 189 189 technique … … 324 324 } 325 325 } 326 327 328 329 330 material MetalTeapotMultipleBounce 331 { 332 technique 333 { 334 pass 335 { 336 //cull_hardware none 337 IllumTechniques 338 { 339 RenderTechnique ColorCubeMap 340 { 341 resolution 1024 342 update_interval 0 343 distance_calc false 344 face_angle_calc false 345 update_all_face true 346 347 } 348 RenderTechnique DistanceCubeMap 349 { 350 resolution 1024 351 update_interval 0 352 distance_calc false 353 face_angle_calc false 354 update_all_face true 355 get_minmax true 356 min_var_name min 357 max_var_name max 358 } 359 RenderTechnique ColorCubeMap 360 { 361 resolution 1024 362 layer 1 363 texture_unit_id 2 364 update_interval 0 365 distance_calc false 366 face_angle_calc false 367 update_all_face true 368 render_env false 369 render_self true 370 self_material NormalDistanceCCW 371 get_minmax true 372 min_var_name min1 373 max_var_name max1 374 } 375 RenderTechnique ColorCubeMap 376 { 377 resolution 1024 378 layer 2 379 texture_unit_id 3 380 update_interval 0 381 distance_calc false 382 face_angle_calc false 383 update_all_face true 384 render_env false 385 render_self true 386 self_material NormalDistanceCW 387 get_minmax true 388 min_var_name min2 389 max_var_name max2 390 } 391 } 392 vertex_program_ref DefaultVS 393 { 394 param_named_auto worldViewProj worldviewproj_matrix 395 param_named_auto world world_matrix 396 param_named_auto worldview worldview_matrix 397 param_named_auto worldI inverse_world_matrix 398 399 } 400 fragment_program_ref MetalMultipleBouncePS 401 { 402 param_named_auto cameraPos camera_position 403 //param_named n float3 0.21 0.96 1.17 404 //param_named k float3 4.16 2.57 2.32 405 param_named F0 float3 0.95 0.95 0.95 406 param_named SingleBounce float 0.0 407 param_named refIndex float 0.6667 408 } 409 410 //Cube map of environment 411 texture_unit 412 { 413 //filtering none 414 } 415 //Cube map of environment distances 416 texture_unit 417 { 418 filtering none 419 } 420 421 //Cube map of reflective object's normals and distances CCW 422 texture_unit 423 { 424 filtering none 425 } 426 //Cube map of reflective object's normals and distances CW 427 texture_unit 428 { 429 filtering none 430 } 431 } 432 } 433 }
Note: See TracChangeset
for help on using the changeset viewer.