Changeset 2266 for GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts
- Timestamp:
- 03/19/07 16:53:44 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/GameTools.material
r2152 r2266 140 140 } 141 141 142 143 144 material GameTools/UVShader145 {146 technique147 {148 pass149 {150 vertex_program_ref GameTools/UV_VS151 {152 param_named_auto worldViewProj worldviewproj_matrix153 }154 fragment_program_ref GameTools/UV_PS155 {156 param_named_auto ID custom 0157 }158 159 160 }161 }162 }163 164 material GameTools/DistanceShader165 {166 167 technique168 {169 pass170 {171 vertex_program_ref GameTools/DistanceVS172 {173 param_named_auto worldView worldview_matrix174 param_named_auto worldViewProj worldviewproj_matrix175 }176 fragment_program_ref GameTools/DistancePS177 {178 179 }180 181 }182 }183 }184 185 material GameTools/SceneCameraDepthShader186 {187 188 technique189 {190 scene_blend none191 192 pass193 {194 vertex_program_ref GameTools/SceneCameraDepthVS195 {196 param_named_auto worldView worldview_matrix197 param_named_auto worldViewProj worldviewproj_matrix198 param_named_auto farplane far_clip_distance199 }200 fragment_program_ref GameTools/SceneDepthPS201 {202 203 }204 205 }206 }207 }208 209 material GameTools/FocusingShader210 {211 212 technique213 {214 scene_blend none215 216 pass217 {218 vertex_program_ref GameTools/FocusingVS219 {220 param_named_auto world world_matrix221 param_named_auto worldViewProj worldviewproj_matrix222 param_named lightTransform matrix4x4223 }224 fragment_program_ref GameTools/FocusingPS225 {226 227 }228 229 }230 }231 }232 233 material GameTools/ShadowMapDepth234 {235 236 technique237 {238 scene_blend none239 240 pass241 {242 cull_hardware anticlockwise243 //cull_hardware none244 245 vertex_program_ref GameTools/ShadowMap/DepthVS246 {247 param_named_auto worldViewProj worldviewproj_matrix248 }249 fragment_program_ref GameTools/ShadowMap/DepthPS250 {251 252 }253 254 }255 }256 }257 258 material GameTools/ShadowMapDistance259 {260 261 technique262 {263 264 pass265 {266 scene_blend none267 268 cull_hardware anticlockwise269 //cull_hardware none270 //cull_software none271 //cull_hardware clockwise272 273 vertex_program_ref GameTools/ShadowMap/DistVS274 {275 param_named_auto worldViewProj worldviewproj_matrix276 param_named_auto worldView worldview_matrix277 }278 fragment_program_ref GameTools/ShadowMap/DistPS279 {280 param_named_auto farPlane far_clip_distance281 }282 283 }284 }285 }286 287 288 142 material GameTools/Blur 289 143 { -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/kupola.material
r2054 r2266 1 1 2 2 3 material kupolalambert2 3 material kupolalambert2_original 4 4 { 5 5 … … 8 8 pass 9 9 { 10 10 11 IllumTechniques 11 12 { 12 13 13 14 RenderTechnique CausticReciever 14 15 { 15 max_caster_count 1016 max_caster_count 0 16 17 } 17 18 //RenderTechnique DepthShadowReciever … … 20 21 //} 21 22 } 22 23 23 24 scene_blend none 24 25 scene_blend_op add 25 26 scene_blend_op_alpha add 26 27 scene_blend_alpha none 27 28 28 29 lighting off 29 30 30 31 vertex_program_ref GameTools/CausticSoftShadowVS 31 32 { 32 //param_named_auto world_IT inverse_transpose_world_matrix 33 param_named_auto worldViewProj worldviewproj_matrix34 param_named_auto world world_matrix33 param_named_auto worldViewProj worldviewproj_matrix 34 param_named_auto world world_matrix 35 //param_named_auto world_IT inverse_transpose_world_matrix 35 36 } 36 37 fragment_program_ref GameTools/CausticSoftShadowPS 37 38 { 38 39 40 39 param_named_auto world_IT inverse_transpose_world_matrix 40 param_named_auto cameraPos camera_position 41 param_named_auto lightPosition light_position 0 41 42 } 42 43 43 texture_unit 44 { 45 texture falt2.tga 46 //texture rnl_cross.hdr 44 texture_unit 45 { 46 texture falt2.tga 47 47 } 48 48 … … 56 56 57 57 58 material kupolalambert5 58 material kupolalambert5_original 59 59 { 60 60 technique … … 67 67 RenderTechnique CausticReciever 68 68 { 69 max_caster_count 1 069 max_caster_count 1 70 70 } 71 71 //RenderTechnique DepthShadowReciever … … 159 159 } 160 160 161 162 material kupolalambert2 163 { 164 165 technique 166 { 167 pass 168 { 169 IllumTechniques 170 { 171 172 RenderTechnique CausticReciever 173 { 174 max_caster_count 1 175 } 176 } 177 178 texture_unit 179 { 180 texture falt2.tga 181 } 182 183 } 184 } 185 } 186 187 188 material kupolalambert5 189 { 190 technique 191 { 192 193 pass 194 { 195 IllumTechniques 196 { 197 198 RenderTechnique CausticReciever 199 { 200 max_caster_count 1 201 } 202 } 203 texture_unit 204 { 205 texture talaj2.tga 206 } 207 208 } 209 } 210 } 211
Note: See TracChangeset
for help on using the changeset viewer.