- Timestamp:
- 02/28/07 18:18:24 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPCaustic/GTPCaustic.material
r2136 r2175 40 40 param_named_auto WorldView worldview_matrix 41 41 param_named_auto Proj projection_matrix 42 param_named CauSpriteSize float 2042 param_named CauSpriteSize float 10 43 43 } 44 44 fragment_program_ref GTP/Caustic/CauCube_PointSprite_PS 45 45 { 46 param_named CausticColor float4 0.7 0.7 0.5 0.346 param_named CausticColor float4 1 1 1 0.8 47 47 } 48 48 texture_unit … … 120 120 121 121 } 122 vertex_program_ref GTP/Basic/Shaded Tex_VS122 vertex_program_ref GTP/Basic/Shaded_VS 123 123 { 124 124 param_named_auto WorldViewProj worldviewproj_matrix … … 146 146 } 147 147 } 148 149 material GTP/Caustic/Glass_PointSprite 150 { 151 technique 152 { 153 pass 154 { 155 IllumTechniques 156 { 157 RenderTechnique ColorCubeMap 158 { 159 update_interval 1 160 update_all_face true 161 } 162 RenderTechnique DistanceCubeMap 163 { 164 update_interval 1 165 update_all_face true 166 } 167 RenderTechnique CausticCaster 168 { 169 attenuation 1000 170 update_interval 1 171 update_all_face true 172 photonmap_resolution 64 173 caustic_cubemap_resolution 256 174 photon_map_material GTP/Caustic/PhotonMap_HitEnv 175 caustic_map_material GTP/Caustic/CauCube_PointSprite 176 blur_caustic_cubemap false 177 } 178 179 } 180 vertex_program_ref GTP/Basic/Shaded_VS 181 { 182 param_named_auto WorldViewProj worldviewproj_matrix 183 param_named_auto World world_matrix 184 param_named_auto WorldInv inverse_world_matrix 185 } 186 fragment_program_ref GTP/EnvMap/Localized_Refraction_PS 187 { 188 param_named_auto cameraPos camera_position 189 param_named lastCenter float3 0 0 0 190 param_named sFresnel float 0.1 191 param_named sRefraction float 0.9 192 } 193 //Cube map for reflections and refractions 194 texture_unit 195 { 196 197 } 198 //Cube map of distances 199 texture_unit 200 { 201 202 } 203 } 204 } 205 }
Note: See TracChangeset
for help on using the changeset viewer.