Changeset 2293 for GTP/trunk/App/Demos/Illum/Ogre/Media/materials
- Timestamp:
- 03/27/07 11:55:24 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts
- Files:
-
- 6 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/GameTools.material
r2284 r2293 41 41 } 42 42 43 vertex_program TexturedVS hlsl44 {45 source textured.hlsl46 entry_point vs47 target vs_2_048 }49 50 fragment_program TexturedPS hlsl51 {52 source textured.hlsl53 entry_point ps54 target ps_3_055 }56 57 43 material Examples/MorningSkyBox 58 44 { … … 61 47 pass 62 48 { 63 vertex_program_ref TexturedVS49 vertex_program_ref GTP/Basic/PlainTex_VS 64 50 { 65 param_named_auto worldViewProj worldviewproj_matrix51 param_named_auto WorldViewProj worldviewproj_matrix 66 52 } 67 fragment_program_ref TexturedPS53 fragment_program_ref GTP/Basic/PlainTex2DColored_PS 68 54 { 69 55 param_named color float4 10 10 10 1 70 56 } 71 57 depth_write off 72 73 58 texture_unit 74 59 { … … 116 101 pass 117 102 { 118 ambient 0.8 0.8 0.8119 diffuse 0.0 0.0 0.0120 specular0.0 0.0 0.0103 //ambient 0.8 0.8 0.8 104 //diffuse 0.0 0.0 0.0 105 //specular 0.0 0.0 0.0 0.0 121 106 //lighting off 122 107 IllumTechniques -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/GameTools.program
r2024 r2293 48 48 } 49 49 50 51 52 // Cube mapping programs53 vertex_program GameTools/CubeMap/VertexPrograms/DefaultVS hlsl54 {55 source GameTools_CubeMap.hlsl56 entry_point deaultVS57 target vs_2_058 }59 60 fragment_program GameTools/CubeMap/FragmentPrograms/DefaultPS hlsl61 {62 source GameTools_CubeMap.hlsl63 entry_point deaultPS64 target ps_2_065 66 }67 68 vertex_program GameTools/Caustic/DefaultVS hlsl69 {70 source GameTools_Caustic.hlsl71 entry_point deaultVS72 target vs_2_073 }74 75 fragment_program GameTools/Caustic/DefaultPS hlsl76 {77 source GameTools_Caustic.hlsl78 entry_point deaultPS79 target ps_2_080 81 }82 83 vertex_program GameTools/SoftShadow/VertexPrograms/DefaultVS hlsl84 {85 source GameTools_SoftShadow.hlsl86 entry_point deaultVS87 target vs_2_088 }89 90 fragment_program GameTools/SoftShadow/FragmentPrograms/DefaultPS hlsl91 {92 source GameTools_SoftShadow.hlsl93 entry_point deaultPS94 target ps_2_095 96 }97 98 fragment_program GameTools/SoftShadow/FragmentPrograms/Default2PS hlsl99 {100 source GameTools_SoftShadow.hlsl101 entry_point deault2PS102 target ps_2_0103 104 }105 106 vertex_program GameTools/CausticSoftShadowVS hlsl107 {108 source GameTools_CausticSoftShadow.hlsl109 entry_point deaultVS110 target vs_2_0111 }112 113 fragment_program GameTools/CausticSoftShadowPS hlsl114 {115 source GameTools_CausticSoftShadow.hlsl116 entry_point deaultPS117 target ps_2_0118 119 }120 121 vertex_program GameTools/CubeMap/VertexPrograms/LocalizedVS hlsl122 {123 source GameTools_Localized_EnvMap.hlsl124 entry_point LocalizedVS125 target vs_2_0126 }127 128 fragment_program GameTools/CubeMap/FragmentPrograms/LocalizedPS hlsl129 {130 source GameTools_Localized_EnvMap.hlsl131 entry_point LocalizedPS132 target ps_3_0133 }134 135 vertex_program GameTools/CubeMap/VertexPrograms/LocalizedBumpVS hlsl136 {137 source GameTools_LocalizedBump_EnvMap.hlsl138 entry_point LocalizedBumpVS139 target vs_2_0140 }141 142 fragment_program GameTools/CubeMap/FragmentPrograms/LocalizedBumpPS hlsl143 {144 source GameTools_LocalizedBump_EnvMap.hlsl145 entry_point LocalizedBumpPS146 target ps_3_0147 }148 149 150 fragment_program GameTools/PhotonMapCausticPS hlsl151 {152 source GameTools_Localized_EnvMap.hlsl153 entry_point PhotonMapCausticPS154 target ps_3_0155 }156 157 //fragment_program GameTools/PhotonMapSoftShadowPS hlsl158 //{159 // source GameTools_Localized_EnvMap.hlsl160 // entry_point PhotonMapSoftShadowPS161 // target ps_3_0162 //}163 164 165 166 fragment_program GameTools/CubeMap/FragmentPrograms/LocalizedMetalPS hlsl167 {168 source GameTools_Localized_EnvMap.hlsl169 entry_point LocalizedMetalPS170 target ps_3_0171 172 }173 174 vertex_program GameTools/DistanceVS hlsl175 {176 source GameTools_Distance.hlsl177 entry_point DistanceVS178 target vs_1_1179 }180 181 fragment_program GameTools/DistancePS hlsl182 {183 source GameTools_Distance.hlsl184 entry_point DistancePS185 target ps_2_0186 187 }188 189 vertex_program GameTools/ShadowMap/DepthVS hlsl190 {191 source GameTools_DepthShadow.hlsl192 entry_point DepthVS193 target vs_3_0194 }195 196 fragment_program GameTools/ShadowMap/DepthPS hlsl197 {198 source GameTools_DepthShadow.hlsl199 entry_point DepthPS200 target ps_3_0201 202 }203 204 vertex_program GameTools/ShadowMap/DistVS hlsl205 {206 source GameTools_DepthShadow.hlsl207 entry_point DepthDistVS208 target vs_3_0209 }210 211 fragment_program GameTools/ShadowMap/DistPS hlsl212 {213 source GameTools_DepthShadow.hlsl214 entry_point DepthDistPS215 target ps_3_0216 217 }218 219 vertex_program GameTools/ShadowMap/ShadowVS hlsl220 {221 source GameTools_DepthShadow.hlsl222 entry_point depthShadowVS223 target vs_1_1224 }225 226 fragment_program GameTools/ShadowMap/ShadowPS hlsl227 {228 source GameTools_DepthShadow.hlsl229 entry_point depthShadowPS230 target ps_2_0231 232 }233 234 vertex_program GameTools/ShadowMap/ShadowDistVS hlsl235 {236 source GameTools_DepthShadow.hlsl237 entry_point distShadowVS238 target vs_1_1239 }240 241 fragment_program GameTools/ShadowMap/ShadowDistPS hlsl242 {243 source GameTools_DepthShadow.hlsl244 entry_point distShadowPS245 target ps_2_0246 247 }248 249 vertex_program GameTools/UV_VS hlsl250 {251 source GameTools_UV.hlsl252 entry_point UV_VS253 target vs_2_0254 }255 256 fragment_program GameTools/UV_PS hlsl257 {258 source GameTools_UV.hlsl259 entry_point UV_PS260 target ps_2_0261 }262 263 vertex_program GameTools/CauVS hlsl264 {265 source GameTools_Cau.hlsl266 entry_point CauVS267 target vs_3_0268 }269 270 fragment_program GameTools/CauPS hlsl271 {272 source GameTools_Cau.hlsl273 entry_point CauPS274 target ps_2_0275 276 }277 278 279 280 vertex_program GameTools/SceneCameraDepthVS hlsl281 {282 source GameTools_Depth.hlsl283 entry_point cDepthVS284 target vs_2_0285 }286 287 fragment_program GameTools/SceneDepthPS hlsl288 {289 source GameTools_Depth.hlsl290 entry_point DepthPS291 target ps_2_0292 }293 294 50 vertex_program GameTools/CubeMap/VertexPrograms/ReduceVS hlsl 295 51 { … … 298 54 target vs_3_0 299 55 } 300 301 fragment_program GameTools/CubeMap/FragmentPrograms/ReducePS hlsl302 {303 source GameTools_ReduceCubeMap.hlsl304 entry_point ReduceTexturePS305 target ps_3_0306 307 }308 309 310 vertex_program GameTools/DiffuseVS hlsl311 {312 source GameTools_Localized_EnvMap.hlsl313 entry_point DiffuseVS314 target vs_3_0315 }316 317 fragment_program GameTools/DiffusePS hlsl318 {319 source GameTools_Localized_EnvMap.hlsl320 entry_point DiffusePS321 target ps_3_0322 323 } -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/difflab.material
r2284 r2293 26 26 param_named_auto worldViewProj worldviewproj_matrix 27 27 param_named_auto worldView world_matrix 28 param_named_auto worldViewI T inverse_transpose_world_matrix28 param_named_auto worldViewI inverse_worldview_matrix 29 29 } 30 30 fragment_program_ref TexturedPhongPS 31 31 { 32 param_named_auto cameraPos camera_position 33 34 param_named_auto worldViewIT inverse_transpose_worldview_matrix 35 32 param_named_auto cameraPos camera_position 33 36 34 param_named_auto lightcol1 light_diffuse_colour 0 37 35 param_named_auto lightcol2 light_diffuse_colour 1 38 36 param_named_auto lightcol3 light_diffuse_colour 2 39 param_named_auto lightcol4 light_diffuse_colour 340 param_named_auto lightcol5 light_diffuse_colour 441 param_named_auto lightcol6 light_diffuse_colour 542 param_named_auto lightcol7 light_diffuse_colour 643 param_named_auto lightcol8 light_diffuse_colour 737 // param_named_auto lightcol4 light_diffuse_colour 3 38 //param_named_auto lightcol5 light_diffuse_colour 4 39 // param_named_auto lightcol6 light_diffuse_colour 5 40 // param_named_auto lightcol7 light_diffuse_colour 6 41 // param_named_auto lightcol8 light_diffuse_colour 7 44 42 45 43 param_named_auto lightpos1 light_position 0 46 44 param_named_auto lightpos2 light_position 1 47 45 param_named_auto lightpos3 light_position 2 48 param_named_auto lightpos4 light_position 349 param_named_auto lightpos5 light_position 450 param_named_auto lightpos6 light_position 551 param_named_auto lightpos7 light_position 652 param_named_auto lightpos8 light_position 746 // param_named_auto lightpos4 light_position 3 47 // param_named_auto lightpos5 light_position 4 48 // param_named_auto lightpos6 light_position 5 49 // param_named_auto lightpos7 light_position 6 50 // param_named_auto lightpos8 light_position 7 53 51 54 52 param_named_auto lightdir1 light_direction 0 55 53 param_named_auto lightdir2 light_direction 1 56 54 param_named_auto lightdir3 light_direction 2 57 param_named_auto lightdir4 light_direction 358 param_named_auto lightdir5 light_direction 459 param_named_auto lightdir6 light_direction 560 param_named_auto lightdir7 light_direction 661 param_named_auto lightdir8 light_direction 755 // param_named_auto lightdir4 light_direction 3 56 // param_named_auto lightdir5 light_direction 4 57 // param_named_auto lightdir6 light_direction 5 58 // param_named_auto lightdir7 light_direction 6 59 // param_named_auto lightdir8 light_direction 7 62 60 63 61 param_named_auto lightscale1 light_power 0 64 62 param_named_auto lightscale2 light_power 1 65 63 param_named_auto lightscale3 light_power 2 66 param_named_auto lightscale4 light_power 367 param_named_auto lightscale5 light_power 468 param_named_auto lightscale6 light_power 569 param_named_auto lightscale7 light_power 670 param_named_auto lightscale8 light_power 764 // param_named_auto lightscale4 light_power 3 65 // param_named_auto lightscale5 light_power 4 66 // param_named_auto lightscale6 light_power 5 67 // param_named_auto lightscale7 light_power 6 68 // param_named_auto lightscale8 light_power 7 71 69 72 70 param_named_auto ambientLight ambient_light_colour -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/diffscene.material
r2284 r2293 34 34 param_named_auto lightcol3 light_diffuse_colour 2 35 35 param_named_auto lightcol4 light_diffuse_colour 3 36 param_named_auto lightcol5 light_diffuse_colour 437 param_named_auto lightcol6 light_diffuse_colour 538 param_named_auto lightcol7 light_diffuse_colour 639 param_named_auto lightcol8 light_diffuse_colour 736 // param_named_auto lightcol5 light_diffuse_colour 4 37 // param_named_auto lightcol6 light_diffuse_colour 5 38 // param_named_auto lightcol7 light_diffuse_colour 6 39 // param_named_auto lightcol8 light_diffuse_colour 7 40 40 41 41 param_named_auto lightpos1 light_position 0 … … 43 43 param_named_auto lightpos3 light_position 2 44 44 param_named_auto lightpos4 light_position 3 45 param_named_auto lightpos5 light_position 446 param_named_auto lightpos6 light_position 547 param_named_auto lightpos7 light_position 648 param_named_auto lightpos8 light_position 745 // param_named_auto lightpos5 light_position 4 46 // param_named_auto lightpos6 light_position 5 47 // param_named_auto lightpos7 light_position 6 48 // param_named_auto lightpos8 light_position 7 49 49 50 50 param_named_auto ambientLight ambient_light_colour … … 71 71 { 72 72 param_named shininess float 7.028 73 param_named ambient 0.560857 0.761 0.733514 174 param_named diffuse 0.560857 0.761 0.733514 173 param_named ambient float4 0.560857 0.761 0.733514 1 74 param_named diffuse float4 0.560857 0.761 0.733514 1 75 75 } 76 76 } -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/kupola.material
r2284 r2293 1 2 3 material kupolalambert2_original4 {5 6 technique7 {8 pass9 {10 11 IllumTechniques12 {13 14 RenderTechnique CausticReceiver15 {16 max_caster_count 017 }18 //RenderTechnique DepthShadowReceiver19 //{20 //21 //}22 }23 24 scene_blend none25 scene_blend_op add26 scene_blend_op_alpha add27 scene_blend_alpha none28 29 lighting off30 31 vertex_program_ref GameTools/CausticSoftShadowVS32 {33 param_named_auto worldViewProj worldviewproj_matrix34 param_named_auto world world_matrix35 //param_named_auto world_IT inverse_transpose_world_matrix36 }37 fragment_program_ref GameTools/CausticSoftShadowPS38 {39 param_named_auto world_IT inverse_transpose_world_matrix40 param_named_auto cameraPos camera_position41 param_named_auto lightPosition light_position 042 }43 44 texture_unit45 {46 texture falt2.tga47 }48 49 texture_unit //bump50 {51 texture falnormal.dds52 }53 }54 }55 }56 57 58 material kupolalambert5_original59 {60 technique61 {62 pass63 {64 IllumTechniques65 {66 67 RenderTechnique CausticReceiver68 {69 max_caster_count 170 }71 //RenderTechnique DepthShadowReceiver72 //{73 //74 //}75 }76 77 scene_blend none78 scene_blend_op add79 scene_blend_op_alpha add80 scene_blend_alpha none81 82 lighting off83 84 vertex_program_ref GameTools/CausticSoftShadowVS85 {86 param_named_auto worldViewProj worldviewproj_matrix87 param_named_auto world world_matrix88 //param_named_auto world_IT inverse_transpose_world_matrix89 }90 fragment_program_ref GameTools/CausticSoftShadowPS91 {92 param_named_auto world_IT inverse_transpose_world_matrix93 param_named_auto cameraPos camera_position94 param_named_auto lightPosition light_position 095 }96 97 texture_unit98 {99 texture talaj2.tga100 }101 102 texture_unit103 {104 texture talajnormal.dds105 }106 107 108 109 }110 }111 }112 113 vertex_program KuppolafalVS hlsl114 {115 source kupola.hlsl116 entry_point vs117 target vs_2_0118 }119 120 fragment_program KuppolafalPS hlsl121 {122 source kupola.hlsl123 entry_point ps124 target ps_3_0125 }126 127 1 material kupolafal_low 128 2 { -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/uvegfolyoso2.material
r1598 r2293 20 20 param_named_auto lightcol3 light_diffuse_colour 2 21 21 param_named_auto lightcol4 light_diffuse_colour 3 22 param_named_auto lightcol5 light_diffuse_colour 423 param_named_auto lightcol6 light_diffuse_colour 524 param_named_auto lightcol7 light_diffuse_colour 625 param_named_auto lightcol8 light_diffuse_colour 722 // param_named_auto lightcol5 light_diffuse_colour 4 23 // param_named_auto lightcol6 light_diffuse_colour 5 24 // param_named_auto lightcol7 light_diffuse_colour 6 25 // param_named_auto lightcol8 light_diffuse_colour 7 26 26 27 27 param_named_auto lightpos1 light_position 0 … … 29 29 param_named_auto lightpos3 light_position 2 30 30 param_named_auto lightpos4 light_position 3 31 param_named_auto lightpos5 light_position 432 param_named_auto lightpos6 light_position 533 param_named_auto lightpos7 light_position 634 param_named_auto lightpos8 light_position 731 // param_named_auto lightpos5 light_position 4 32 // param_named_auto lightpos6 light_position 5 33 // param_named_auto lightpos7 light_position 6 34 // param_named_auto lightpos8 light_position 7 35 35 36 36 param_named_auto ambientLight ambient_light_colour … … 74 74 param_named_auto lightcol3 light_diffuse_colour 2 75 75 param_named_auto lightcol4 light_diffuse_colour 3 76 param_named_auto lightcol5 light_diffuse_colour 477 param_named_auto lightcol6 light_diffuse_colour 578 param_named_auto lightcol7 light_diffuse_colour 679 param_named_auto lightcol8 light_diffuse_colour 776 // param_named_auto lightcol5 light_diffuse_colour 4 77 // param_named_auto lightcol6 light_diffuse_colour 5 78 // param_named_auto lightcol7 light_diffuse_colour 6 79 // param_named_auto lightcol8 light_diffuse_colour 7 80 80 81 81 param_named_auto lightpos1 light_position 0 … … 83 83 param_named_auto lightpos3 light_position 2 84 84 param_named_auto lightpos4 light_position 3 85 param_named_auto lightpos5 light_position 486 param_named_auto lightpos6 light_position 587 param_named_auto lightpos7 light_position 688 param_named_auto lightpos8 light_position 785 // param_named_auto lightpos5 light_position 4 86 // param_named_auto lightpos6 light_position 5 87 // param_named_auto lightpos7 light_position 6 88 // param_named_auto lightpos8 light_position 7 89 89 90 90 param_named_auto ambientLight ambient_light_colour … … 116 116 { 117 117 param_named shininess float 2 118 param_named ambient 0.36774 0.578929 0.681 1119 param_named diffuse 0.36774 0.578929 0.681 1120 param_named specular 0.51282 0.51282 0.51282 1118 param_named ambient float4 0.36774 0.578929 0.681 1 119 param_named diffuse float4 0.36774 0.578929 0.681 1 120 param_named specular float4 0.51282 0.51282 0.51282 1 121 121 } 122 122 texture_unit 0 … … 136 136 { 137 137 param_named shininess float 2 138 param_named ambient 0.237 0.624 0.547 1139 param_named diffuse 0.237 0.624 0.547 1140 param_named specular 0.51282 0.51282 0.51282 1138 param_named ambient float4 0.237 0.624 0.547 1 139 param_named diffuse float4 0.237 0.624 0.547 1 140 param_named specular float4 0.51282 0.51282 0.51282 1 141 141 } 142 142 // texture_unit 0 … … 156 156 { 157 157 param_named shininess float 0 158 param_named ambient 0.94018 0.94018 0.94018 1159 param_named diffuse 0.94018 0.94018 0.94018 1160 param_named specular 0.0 0.0 0.0 1158 param_named ambient float4 0.94018 0.94018 0.94018 1 159 param_named diffuse float4 0.94018 0.94018 0.94018 1 160 param_named specular float4 0.0 0.0 0.0 1 161 161 } 162 162 }
Note: See TracChangeset
for help on using the changeset viewer.