- Timestamp:
- 04/24/07 14:10:34 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPCaustic/GTPCaustic.material
r2301 r2337 117 117 use_triangles true 118 118 blur_caustic_cubemap true 119 } 120 121 } 122 vertex_program_ref GTP/Basic/Shaded_VS 123 { 124 param_named_auto WorldViewProj worldviewproj_matrix 125 param_named_auto World world_matrix 126 param_named_auto WorldInv inverse_world_matrix 127 } 128 fragment_program_ref GTP/EnvMap/Localized_Refraction_PS 129 { 130 param_named_auto cameraPos camera_position 131 param_named lastCenter float3 0 0 0 132 param_named sFresnel float 0.1 133 <<<<<<< .mine 134 param_named sRefraction float 0.85 135 ======= 136 param_named sRefraction float 0.8 137 >>>>>>> .r2314 138 } 139 //Cube map for reflections and refractions 140 texture_unit 141 { 142 143 } 144 //Cube map of distances 145 texture_unit 146 { 147 filtering none 148 } 149 } 150 } 151 } 152 153 material GTP/Caustic/Glass_PointSprite 154 { 155 technique 156 { 157 pass 158 { 159 IllumTechniques 160 { 161 RenderTechnique ColorCubeMap 162 { 163 update_interval 0 164 update_all_face true 165 } 166 RenderTechnique DistanceCubeMap 167 { 168 update_interval 0 169 update_all_face true 170 } 171 RenderTechnique CausticCaster 172 { 173 attenuation 1000 174 update_interval 1 175 update_all_face true 176 photonmap_resolution 64 177 caustic_cubemap_resolution 256 178 photon_map_material GTP/Caustic/PhotonMap_HitEnv 179 caustic_map_material GTP/Caustic/CauCube_PointSprite 180 blur_caustic_cubemap false 119 181 } 120 182 … … 146 208 } 147 209 } 148 149 material GTP/Caustic/Glass_PointSprite150 {151 technique152 {153 pass154 {155 IllumTechniques156 {157 RenderTechnique ColorCubeMap158 {159 update_interval 0160 update_all_face true161 }162 RenderTechnique DistanceCubeMap163 {164 update_interval 0165 update_all_face true166 }167 RenderTechnique CausticCaster168 {169 attenuation 1000170 update_interval 1171 update_all_face true172 photonmap_resolution 64173 caustic_cubemap_resolution 256174 photon_map_material GTP/Caustic/PhotonMap_HitEnv175 caustic_map_material GTP/Caustic/CauCube_PointSprite176 blur_caustic_cubemap false177 }178 179 }180 vertex_program_ref GTP/Basic/Shaded_VS181 {182 param_named_auto WorldViewProj worldviewproj_matrix183 param_named_auto World world_matrix184 param_named_auto WorldInv inverse_world_matrix185 }186 fragment_program_ref GTP/EnvMap/Localized_Refraction_PS187 {188 param_named_auto cameraPos camera_position189 param_named lastCenter float3 0 0 0190 param_named sFresnel float 0.1191 param_named sRefraction float 0.8192 }193 //Cube map for reflections and refractions194 texture_unit195 {196 197 }198 //Cube map of distances199 texture_unit200 {201 filtering none202 }203 }204 }205 }
Note: See TracChangeset
for help on using the changeset viewer.