- Timestamp:
- 05/12/07 14:22:06 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/MORIA/moria.material
r2345 r2368 1 vertex_program GTP/ Demo/BumpMapped_VS hlsl2 { 3 source bump.hlsl4 entry_point BaseVS1 vertex_program GTP/MoriaDemo/MoriaHallBase_VS hlsl 2 { 3 source MoriaHallBase.hlsl 4 entry_point MoriaHallBase_VS 5 5 target vs_3_0 6 6 } 7 7 8 fragment_program GTP/ Demo/BumpMapped_PS hlsl9 { 10 source bump.hlsl11 entry_point BumpPS8 fragment_program GTP/MoriaDemo/MoriaHallBase_PS hlsl 9 { 10 source MoriaHallBase.hlsl 11 entry_point MoriaHallBase_PS 12 12 target ps_3_0 13 13 } 14 14 15 material DetailTexturedBumpBase15 material MoriaHallBase 16 16 { 17 17 technique maintechnique … … 21 21 IllumTechniques 22 22 { 23 RenderTechnique DepthShadowReceiver 24 { 25 //pass_blending none 23 //RenderTechnique PathMap 24 //{ 25 // new_passes false 26 // start_tex_id 3 27 //} 28 RenderTechnique DepthShadowReceiver 29 { 26 30 max_light_count 1 27 vertex_program_name GTP/Basic/LightCPos_VS 28 fragment_program_name GTP/Basic/SM/Dist_POINT_VSM_PS 29 //fragment_program_name GTP/Basic/SM/Dist_VSM_PS 31 set_light_viewproj false 30 32 set_light_view true 31 33 set_light_farplane true 32 light_viewproj_param_name LightViewProj33 34 light_view_param_name LightView 34 35 light_farplane_param_name lightFarPlane 35 world_view_proj_param_name WorldViewProj 36 world_param_name World 37 } 38 RenderTechnique PathMap 39 { 40 pass_blending dest_alpha one 41 //pass_blending none 42 //pass_blending add 43 } 44 36 new_passes false 37 start_tex_id 6 38 } 45 39 } 46 vertex_program_ref GTP/ Demo/BumpMapped_VS40 vertex_program_ref GTP/MoriaDemo/MoriaHallBase_VS 47 41 { 48 42 param_named_auto WorldViewProj worldviewproj_matrix 49 43 param_named_auto World world_matrix 50 44 param_named_auto WorldI inverse_world_matrix 51 param_named_auto wLightPos light_position 052 45 param_named_auto wCamPos camera_position 53 46 param_named normalCoord float 0 54 47 } 55 fragment_program_ref GTP/ Demo/BumpMapped_PS48 fragment_program_ref GTP/MoriaDemo/MoriaHallBase_PS 56 49 { 57 50 param_named_auto wLightPos light_position 0 58 param_named_auto wLightDir light_direction 0 59 param_named_auto lightRange light_attenuation 0 60 param_named_auto lightPower light_power 0 51 //param_named_auto wLightPos light_position 1 52 param_named_auto lightRange light_attenuation 0 53 //param_named_auto lightRange[1] light_attenuation 1 54 param_named_auto lightPower light_power 0 55 //param_named_auto lightPower[1] light_power 1 56 param_named_auto lightColor light_diffuse_colour 0 57 //param_named_auto lightColor[1] light_diffuse_colour 1 58 param_named specularity float 120 61 59 } 60 texture_unit tile_texture 61 { 62 } 63 texture_unit detail_texture 64 { 65 } 66 texture_unit displace 67 { 68 } 69 texture_unit pathMap 70 { 71 } 72 texture_unit PMweightIndex 73 { 74 } 75 texture_unit PMweight 76 { 77 } 78 texture_unit SM1 79 { 80 } 81 texture_unit SM2 82 { 83 } 62 84 } 63 85 } 64 86 } 65 87 66 material GreatPillarTrunk : DetailTexturedBumpBase 67 { 68 technique maintechnique 69 { 70 pass mainpass 71 { 72 ambient 1 1 1 1 73 diffuse 1 1 1 1 74 specular 0.08264 0.08264 0.08264 2 75 emissive 0 0 0 88 material GreatPillarTrunk : MoriaHallBase 89 { 90 technique maintechnique 91 { 92 pass mainpass 93 { 76 94 texture_unit tile_texture 77 95 { … … 89 107 } 90 108 } 91 material GreatHallFloor : DetailTexturedBumpBase 92 { 93 technique maintechnique 94 { 95 pass mainpass 96 { 97 98 ambient 1 1 1 1 99 diffuse 1 1 1 1 100 specular 0.57852 0.57852 0.57852 25.49 101 emissive 0 0 0 102 vertex_program_ref GTP/Demo/BumpMapped_VS 109 material GreatHallFloor : MoriaHallBase 110 { 111 technique maintechnique 112 { 113 pass mainpass 114 { 115 vertex_program_ref GTP/MoriaDemo/MoriaHallBase_VS 103 116 { 104 117 param_named normalCoord float 1 … … 120 133 } 121 134 } 122 material GreatHallWall : DetailTexturedBumpBase 123 { 124 technique maintechnique 125 { 126 pass mainpass 127 { 128 ambient 1 1 1 1 129 diffuse 1 1 1 1 130 specular 0.08264 0.08264 0.08264 2 131 emissive 0 0 0 132 135 material GreatHallWall : MoriaHallBase 136 { 137 technique maintechnique 138 { 139 pass mainpass 140 { 133 141 texture_unit tile_texture 134 142 { … … 142 150 } 143 151 } 144 material GreatHallPillarHead : DetailTexturedBumpBase 145 { 146 technique maintechnique 147 { 148 pass mainpass 149 { 150 ambient 1 1 1 1 151 diffuse 1 1 1 1 152 specular 0.08264 0.08264 0.08264 2 153 emissive 0 0 0 154 152 material GreatHallPillarHead : MoriaHallBase 153 { 154 technique maintechnique 155 { 156 pass mainpass 157 { 155 158 texture_unit tile_texture 156 159 { … … 165 168 } 166 169 167 material GreatHallCeiling : DetailTexturedBumpBase 168 { 169 technique maintechnique 170 { 171 pass mainpass 172 { 173 ambient 1 1 1 1 174 diffuse 1 1 1 1 175 specular 0.08264 0.08264 0.08264 2 176 emissive 0 0 0 177 170 material GreatHallCeiling : MoriaHallBase 171 { 172 technique maintechnique 173 { 174 pass mainpass 175 { 178 176 texture_unit tile_texture 179 177 {
Note: See TracChangeset
for help on using the changeset viewer.