- Timestamp:
- 04/24/07 14:09:18 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/MORIA/moria.material
r2315 r2336 3 3 source bump.hlsl 4 4 entry_point BaseVS 5 target vs_ 2_05 target vs_3_0 6 6 } 7 7 … … 10 10 source bump.hlsl 11 11 entry_point BumpPS 12 target ps_ 2_012 target ps_3_0 13 13 } 14 14 … … 19 19 pass mainpass 20 20 { 21 21 IllumTechniques 22 { 23 RenderTechnique DepthShadowReceiver 24 { 25 //pass_blending none 26 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 30 set_light_view true 31 set_light_farplane true 32 light_viewproj_param_name LightViewProj 33 light_view_param_name LightView 34 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_colour one 41 //pass_blending none 42 pass_blending add 43 } 44 45 } 22 46 vertex_program_ref GTP/Demo/BumpMapped_VS 23 47 { … … 28 52 param_named_auto wCamPos camera_position 29 53 param_named normalCoord float 0 30 }54 } 31 55 fragment_program_ref GTP/Demo/BumpMapped_PS 32 { 33 param_named_auto lightDir light_direction 0 56 { 57 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 34 61 } 35 62 } … … 37 64 } 38 65 39 material GreatPillarTrunk 1: DetailTexturedBumpBase66 material GreatPillarTrunk : DetailTexturedBumpBase 40 67 { 41 68 technique maintechnique … … 64 91 pass mainpass 65 92 { 66 IllumTechniques 67 { 68 RenderTechnique DepthShadowReceiver 69 { 70 max_light_count 1 71 vertex_program_name GTP/Basic/LightCPos_VS 72 fragment_program_name GTP/Basic/SM/Dist_VSM_PS 73 set_light_view true 74 set_light_farplane true 75 light_viewproj_param_name LightViewProj 76 light_view_param_name LightView 77 light_farplane_param_name lightFarPlane 78 world_view_proj_param_name WorldViewProj 79 world_param_name World 80 } 81 } 93 82 94 ambient 1 1 1 1 83 95 diffuse 1 1 1 1 … … 140 152 { 141 153 texture pillarheaddetail.png 154 } 155 } 156 } 157 } 158 159 material GreatHallCeiling : DetailTexturedBumpBase 160 { 161 technique maintechnique 162 { 163 pass mainpass 164 { 165 ambient 1 1 1 1 166 diffuse 1 1 1 1 167 specular 0.08264 0.08264 0.08264 2 168 emissive 0 0 0 169 170 texture_unit tile_texture 171 { 172 texture marble.jpg 173 } 174 texture_unit detail_texture 175 { 176 texture moriaceilingdetail.png 142 177 } 143 178 }
Note: See TracChangeset
for help on using the changeset viewer.