Changeset 2157 for GTP/trunk/App/Demos/Illum/Ogre/Media/Demo/tower.material
- Timestamp:
- 02/22/07 23:12:59 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/Demo/tower.material
r2152 r2157 26 26 pass 27 27 { 28 lighing off29 ambient 1 1 1 130 diffuse 1 1 1 131 specular 0 0 0 032 emissive 0 0 033 34 28 vertex_program_ref GTP/Demo/BumpMapped_VS 35 29 { … … 40 34 param_named_auto wCamPos camera_position 41 35 param_named textureRepeat float 6 42 } 36 } 43 37 fragment_program_ref GTP/Demo/ParallaxMapped_PS 44 38 { … … 69 63 } 70 64 } 65 66 material towermaterialBump 67 { 68 technique 69 { 70 pass 71 { 72 vertex_program_ref GTP/Demo/BumpMapped_VS 73 { 74 param_named_auto WorldViewProj worldviewproj_matrix 75 param_named_auto World world_matrix 76 param_named_auto WorldI inverse_world_matrix 77 param_named_auto wLightPos light_position 0 78 param_named_auto wCamPos camera_position 79 param_named textureRepeat float 6 80 } 81 fragment_program_ref GTP/Demo/BumpMapped_PS 82 { 83 } 84 texture_unit 85 { 86 texture stone.bmp 87 tex_coord_set 0 88 colour_op replace 89 } 90 texture_unit 91 { 92 texture towerwall.bmp 93 tex_coord_set 1 94 colour_op modulate 95 } 96 texture_unit 97 { 98 texture stoneNormal.dds 99 tex_coord_set 0 100 } 101 102 } 103 104 } 105 } 106 107 material towermaterialNoBump 108 { 109 technique 110 { 111 pass 112 { 113 ambient 1 1 1 1 114 diffuse 1 1 1 1 115 specular 0 0 0 0 116 emissive 0 0 0 117 118 texture_unit 119 { 120 texture stone.bmp 121 tex_coord_set 0 122 } 123 texture_unit 124 { 125 texture towerwall.bmp 126 tex_coord_set 1 127 colour_op modulate 128 } 129 } 130 131 } 132 }
Note: See TracChangeset
for help on using the changeset viewer.