- Timestamp:
- 06/05/07 01:57:13 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/MORIA/FPSarm.material
r2398 r2404 24 24 } 25 25 } 26 27 vertex_program GTP/MoriaDemo/Sword_VS hlsl 28 { 29 source sword.hlsl 30 entry_point Sword_VS 31 target vs_2_0 32 } 33 34 fragment_program GTP/MoriaDemo/Sword_Metal_PS hlsl 35 { 36 source sword.hlsl 37 entry_point Sword_Metal_PS 38 target ps_3_0 39 } 40 fragment_program GTP/MoriaDemo/Sword_Handle_PS hlsl 41 { 42 source sword.hlsl 43 entry_point Sword_Handle_PS 44 target ps_3_0 45 } 46 47 material swordHandle 48 { 49 technique 50 { 51 pass 52 { 53 IllumTechniques 54 { 55 // RenderTechnique DepthShadowReceiver 56 // { 57 // max_light_count 1 58 // set_light_viewproj false 59 // set_light_view true 60 // set_light_farplane true 61 // light_view_param_name LightView 62 // light_farplane_param_name lightFarPlane 63 // new_passes false 64 // start_tex_id 1 65 // } 66 } 67 cull_hardware none 68 vertex_program_ref GTP/MoriaDemo/Sword_VS 69 { 70 param_named_auto WorldViewProj worldviewproj_matrix 71 param_named_auto World world_matrix 72 param_named_auto WorldI inverse_world_matrix 73 param_named_auto wCamPos camera_position 74 } 75 fragment_program_ref GTP/MoriaDemo/Sword_Handle_PS 76 { 77 param_named_auto wLightPos1 light_position 0 78 // param_named_auto wLightPos2 light_position 1 79 param_named_auto lightRange1 light_attenuation 0 80 // param_named_auto lightRange2 light_attenuation 1 81 param_named_auto lightPower1 light_power 0 82 // param_named_auto lightPower2 light_power 1 83 param_named_auto lightColor1 light_diffuse_colour 0 84 // param_named_auto lightColor2 light_diffuse_colour 1 85 param_named specularity float 100 86 param_named specularColor float4 0.05 0.05 0.05 0.05 87 } 88 texture_unit 89 { 90 texture swordColor.dds 91 } 92 texture_unit 93 { 94 } 95 texture_unit 96 { 97 } 98 } 99 } 100 } 101 102 material swordMetal 103 { 104 technique maintechnique 105 { 106 pass mainpass 107 { 108 IllumTechniques 109 { 110 RenderTechnique ColorCubeMap 111 { 112 update_interval 1 113 update_all_face false 114 distance_calc false 115 face_angle_calc false 116 } 117 } 118 vertex_program_ref GTP/Basic/ShadedTex_VS 119 { 120 param_named_auto WorldViewProj worldviewproj_matrix 121 param_named_auto World world_matrix 122 param_named_auto WorldInv inverse_world_matrix 123 } 124 fragment_program_ref GTP/MoriaDemo/Sword_Metal_PS 125 { 126 param_named_auto wCamPos camera_position 127 } 128 //Cube map for reflections and refractions 129 texture_unit 130 { 131 132 } 133 texture_unit 134 { 135 texture swordColor.dds 136 } 137 } 138 } 139 } 140 141
Note: See TracChangeset
for help on using the changeset viewer.