- Timestamp:
- 02/20/07 14:13:51 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPCaustic/GTPCaustic.material
r2054 r2136 15 15 param_named_auto cameraPos camera_position 16 16 param_named lastCenter float3 0 0 0 17 param_named ref lIndex float 0.8517 param_named refIndex float 0.85 18 18 } 19 19 //cubemap of distances … … 71 71 param_named_auto WorldView worldview_matrix 72 72 param_named_auto Proj projection_matrix 73 param_named PhotonMapResolution float 32 73 param_named PhotonMapResolution float 64 74 param_named WorldSize float 10 74 75 } 75 76 fragment_program_ref GTP/Caustic/CauCube_Triangles_PS 76 77 { 77 78 param_named CausticColor float4 0.7 0.7 0.5 1 79 78 80 } 79 81 texture_unit … … 95 97 RenderTechnique ColorCubeMap 96 98 { 97 update_interval 099 update_interval 1 98 100 update_all_face true 99 101 } 100 102 RenderTechnique DistanceCubeMap 101 103 { 102 update_interval 0104 update_interval 1 103 105 update_all_face true 104 106 } … … 106 108 { 107 109 attenuation 1000 108 photonmap_resolution 32 110 update_interval 1 111 update_all_face true 112 photonmap_resolution 64 109 113 caustic_cubemap_resolution 256 110 114 photon_map_material GTP/Caustic/PhotonMap_HitEnv 111 caustic_map_material GTP/Caustic/CauCube_PointSprite112 //caustic_map_material GTP/Caustic/CauCube_Triangles113 //use_triangles true114 //blur_caustic_cubemap true115 //caustic_map_material GTP/Caustic/CauCube_PointSprite 116 caustic_map_material GTP/Caustic/CauCube_Triangles 117 use_triangles true 118 blur_caustic_cubemap true 115 119 } 116 120
Note: See TracChangeset
for help on using the changeset viewer.