- Timestamp:
- 02/20/07 14:14:25 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/difflab.material
r2095 r2139 20 20 21 21 pass 0 22 { 22 { 23 23 24 vertex_program_ref PhongViewSpaceVS 24 25 { … … 91 92 pass 92 93 { 94 95 93 96 cull_hardware none 94 97 lighting off … … 111 114 { 112 115 IllumTechniques 113 { 114 RenderTechnique DepthShadowReciever 115 { 116 max_light_count 3 117 vertex_program_name GameTools/ShadowMap/ShadowDistVS 118 fragment_program_name GameTools/ShadowMap/ShadowDistPS 119 set_light_view true 120 set_light_farplane true 121 } 122 } 116 { 117 118 RenderTechnique CausticReciever 119 { 120 max_caster_count 1 121 } 122 RenderTechnique DepthShadowReciever 123 { 124 max_light_count 3 125 vertex_program_name GameTools/ShadowMap/ShadowDistVS 126 fragment_program_name GameTools/ShadowMap/ShadowDistPS 127 set_light_view true 128 set_light_farplane true 129 } 130 } 131 123 132 ambient 0.37606 0.37606 0.37606 1 124 133 diffuse 0.37606 0.37606 0.37606 1 … … 136 145 { 137 146 IllumTechniques 138 { 139 RenderTechnique DepthShadowReciever 140 { 141 max_light_count 3 142 vertex_program_name GameTools/ShadowMap/ShadowDistVS 143 fragment_program_name GameTools/ShadowMap/ShadowDistPS 144 set_light_view true 145 set_light_farplane true 146 } 147 } 147 { 148 149 RenderTechnique CausticReciever 150 { 151 max_caster_count 1 152 } 153 RenderTechnique DepthShadowReciever 154 { 155 max_light_count 3 156 vertex_program_name GameTools/ShadowMap/ShadowDistVS 157 fragment_program_name GameTools/ShadowMap/ShadowDistPS 158 set_light_view true 159 set_light_farplane true 160 } 161 } 148 162 fragment_program_ref 149 163 { … … 183 197 { 184 198 IllumTechniques 185 { 186 RenderTechnique DepthShadowReciever 187 { 188 max_light_count 3 189 vertex_program_name GameTools/ShadowMap/ShadowDistVS 190 fragment_program_name GameTools/ShadowMap/ShadowDistPS 191 set_light_view true 192 set_light_farplane true 193 } 194 } 195 199 { 200 201 RenderTechnique CausticReciever 202 { 203 max_caster_count 1 204 } 205 RenderTechnique DepthShadowReciever 206 { 207 max_light_count 3 208 vertex_program_name GameTools/ShadowMap/ShadowDistVS 209 fragment_program_name GameTools/ShadowMap/ShadowDistPS 210 set_light_view true 211 set_light_farplane true 212 } 213 } 196 214 fragment_program_ref 197 215 { … … 216 234 pass 0 217 235 { 236 IllumTechniques 237 { 238 239 RenderTechnique CausticReciever 240 { 241 max_caster_count 1 242 } 243 RenderTechnique DepthShadowReciever 244 { 245 max_light_count 3 246 vertex_program_name GameTools/ShadowMap/ShadowDistVS 247 fragment_program_name GameTools/ShadowMap/ShadowDistPS 248 set_light_view true 249 set_light_farplane true 250 } 251 } 218 252 fragment_program_ref 219 253 { … … 257 291 { 258 292 IllumTechniques 259 { 260 RenderTechnique DepthShadowReciever 261 { 262 max_light_count 3 263 vertex_program_name GameTools/ShadowMap/ShadowDistVS 264 fragment_program_name GameTools/ShadowMap/ShadowDistPS 265 set_light_view true 266 set_light_farplane true 267 } 268 } 293 { 294 295 RenderTechnique CausticReciever 296 { 297 max_caster_count 1 298 } 299 RenderTechnique DepthShadowReciever 300 { 301 max_light_count 3 302 vertex_program_name GameTools/ShadowMap/ShadowDistVS 303 fragment_program_name GameTools/ShadowMap/ShadowDistPS 304 set_light_view true 305 set_light_farplane true 306 } 307 } 269 308 fragment_program_ref 270 309 { … … 283 322 pass 284 323 { 324 285 325 lighting off 286 326 ambient 0.5 0.5 0.5 1
Note: See TracChangeset
for help on using the changeset viewer.