- Timestamp:
- 12/12/06 17:25:24 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/MetalTeapot.material
r1879 r1882 117 117 } 118 118 119 fragment_program DistanceMinMaxPS hlsl 120 { 121 source MetalTeapot.hlsl 122 entry_point DistanceMinMaxPS 123 target ps_3_0 124 } 125 126 material DistanceMinMaxCW 127 { 128 technique 129 { 130 pass 131 { 132 cull_hardware clockwise 133 scene_blend min 134 scene_blend_alpha max 135 136 vertex_program_ref DefaultVS 137 { 138 param_named_auto worldViewProj worldviewproj_matrix 139 param_named_auto world world_matrix 140 param_named_auto worldview worldview_matrix 141 param_named_auto worldI inverse_world_matrix 142 } 143 fragment_program_ref DistanceMinMaxPS 144 { 145 } 146 } 147 } 148 } 149 150 material DistanceMinMaxCCW 151 { 152 technique 153 { 154 pass 155 { 156 cull_hardware anticlockwise 157 scene_blend min 158 scene_blend_alpha max 159 160 vertex_program_ref DefaultVS 161 { 162 param_named_auto worldViewProj worldviewproj_matrix 163 param_named_auto world world_matrix 164 param_named_auto worldview worldview_matrix 165 param_named_auto worldI inverse_world_matrix 166 } 167 fragment_program_ref DistanceMinMaxPS 168 { 169 } 170 } 171 } 172 } 173 119 174 fragment_program MetalMultipleBouncePS hlsl 120 175 { … … 178 233 render_self true 179 234 self_material NormalDistanceCW 235 } 236 RenderTechnique ColorCubeMap 237 { 238 resolution 1 239 layer 3 240 texture_unit_id 4 241 update_interval 0 242 distance_calc false 243 face_angle_calc false 244 update_all_face true 245 render_env false 246 render_self true 247 self_material DistanceMinMaxCCW 248 } 249 RenderTechnique ColorCubeMap 250 { 251 resolution 1 252 layer 4 253 texture_unit_id 5 254 update_interval 0 255 distance_calc false 256 face_angle_calc false 257 update_all_face true 258 render_env false 259 render_self true 260 self_material DistanceMinMaxCW 180 261 } 181 262
Note: See TracChangeset
for help on using the changeset viewer.