[777] | 1 | material Examples/MorningSkyBox
|
---|
| 2 | {
|
---|
| 3 | technique
|
---|
| 4 | {
|
---|
| 5 | pass
|
---|
| 6 | {
|
---|
| 7 | lighting off
|
---|
| 8 | depth_write off
|
---|
| 9 |
|
---|
| 10 | texture_unit
|
---|
| 11 | {
|
---|
| 12 | cubic_texture morning.jpg separateUV
|
---|
| 13 | tex_address_mode clamp
|
---|
| 14 | }
|
---|
| 15 | }
|
---|
| 16 | }
|
---|
| 17 | }
|
---|
| 18 |
|
---|
| 19 | material GameTools/Rockwall
|
---|
| 20 | {
|
---|
| 21 | technique
|
---|
| 22 | {
|
---|
| 23 | pass
|
---|
| 24 | {
|
---|
| 25 | lighting off
|
---|
| 26 | texture_unit
|
---|
| 27 | {
|
---|
| 28 | texture rockwall.tga
|
---|
| 29 | env_map cubic_normal
|
---|
| 30 | //vertex_texture true
|
---|
| 31 | }
|
---|
| 32 | }
|
---|
| 33 | }
|
---|
| 34 | }
|
---|
| 35 |
|
---|
[788] | 36 | material GameTools/PostProcBlack
|
---|
| 37 | {
|
---|
| 38 | technique
|
---|
| 39 | {
|
---|
| 40 | pass
|
---|
| 41 | {
|
---|
[835] | 42 | vertex_program_ref GameTools/PostProc1_VS
|
---|
[788] | 43 | {
|
---|
| 44 | }
|
---|
[835] | 45 | fragment_program_ref GameTools/PostProc_Black
|
---|
[788] | 46 | {
|
---|
| 47 |
|
---|
| 48 | }
|
---|
| 49 | }
|
---|
| 50 | }
|
---|
| 51 | }
|
---|
[777] | 52 | material GameTools/PostProc1
|
---|
| 53 | {
|
---|
| 54 | technique
|
---|
| 55 | {
|
---|
| 56 | pass
|
---|
| 57 | {
|
---|
[835] | 58 | vertex_program_ref GameTools/PostProc1_VS
|
---|
[777] | 59 | {
|
---|
| 60 | }
|
---|
[835] | 61 | fragment_program_ref GameTools/PostProc1_PS
|
---|
[777] | 62 | {
|
---|
| 63 |
|
---|
| 64 | }
|
---|
| 65 | texture_unit
|
---|
| 66 | {
|
---|
| 67 | // filtering none
|
---|
| 68 | texture rockwall.tga
|
---|
| 69 | }
|
---|
| 70 | }
|
---|
| 71 | }
|
---|
| 72 | }
|
---|
| 73 |
|
---|
| 74 | material GameTools/GlowCut
|
---|
| 75 | {
|
---|
| 76 | technique
|
---|
| 77 | {
|
---|
| 78 | pass
|
---|
| 79 | {
|
---|
[835] | 80 | vertex_program_ref GameTools/PostProc1_VS
|
---|
[777] | 81 | {
|
---|
| 82 | }
|
---|
[835] | 83 | fragment_program_ref GameTools/GlowCut_PS
|
---|
[777] | 84 | {
|
---|
| 85 | param_named_auto width viewport_width
|
---|
| 86 | param_named_auto height viewport_height
|
---|
| 87 |
|
---|
| 88 | }
|
---|
| 89 | texture_unit
|
---|
| 90 | {
|
---|
| 91 | //filtering none
|
---|
| 92 | texture rockwall.tga
|
---|
| 93 | }
|
---|
| 94 | texture_unit
|
---|
| 95 | {
|
---|
| 96 | //filtering none
|
---|
| 97 | texture rockwall.tga
|
---|
| 98 | }
|
---|
| 99 | }
|
---|
| 100 | }
|
---|
| 101 | }
|
---|
| 102 |
|
---|
| 103 | material GameTools/Luminance
|
---|
| 104 | {
|
---|
| 105 | technique
|
---|
| 106 | {
|
---|
| 107 | pass
|
---|
| 108 | {
|
---|
[835] | 109 | vertex_program_ref GameTools/PostProc1_VS
|
---|
[777] | 110 | {
|
---|
| 111 | }
|
---|
[835] | 112 | fragment_program_ref GameTools/Luminance_PS
|
---|
[777] | 113 | {
|
---|
| 114 | param_named_auto width viewport_width
|
---|
| 115 | param_named_auto height viewport_height
|
---|
| 116 |
|
---|
| 117 | }
|
---|
| 118 | texture_unit
|
---|
| 119 | {
|
---|
| 120 | //filtering none
|
---|
| 121 | texture rockwall.tga
|
---|
| 122 | }
|
---|
| 123 |
|
---|
| 124 | }
|
---|
| 125 | }
|
---|
| 126 | }
|
---|
| 127 |
|
---|
| 128 |
|
---|
| 129 |
|
---|
| 130 | material GameTools/GlowBlurH
|
---|
| 131 | {
|
---|
| 132 | technique
|
---|
| 133 | {
|
---|
| 134 | pass
|
---|
| 135 | {
|
---|
[835] | 136 | vertex_program_ref GameTools/PostProc1_VS
|
---|
[777] | 137 | {
|
---|
| 138 | }
|
---|
[835] | 139 | fragment_program_ref GameTools/GlowBlurH_PS
|
---|
[777] | 140 | {
|
---|
| 141 | param_named_auto width viewport_width
|
---|
| 142 | param_named_auto height viewport_height
|
---|
| 143 | param_named Stretch float 5.2
|
---|
| 144 | }
|
---|
| 145 | texture_unit
|
---|
| 146 | {
|
---|
| 147 | tex_address_mode mirror
|
---|
| 148 | texture rockwall.tga
|
---|
| 149 | }
|
---|
| 150 |
|
---|
| 151 | }
|
---|
| 152 | }
|
---|
| 153 | }
|
---|
| 154 |
|
---|
| 155 | material GameTools/GlowBlurV
|
---|
| 156 | {
|
---|
| 157 | technique
|
---|
| 158 | {
|
---|
| 159 | pass
|
---|
| 160 | {
|
---|
[835] | 161 | vertex_program_ref GameTools/PostProc1_VS
|
---|
[777] | 162 | {
|
---|
| 163 | }
|
---|
[835] | 164 | fragment_program_ref GameTools/GlowBlurV_PS
|
---|
[777] | 165 | {
|
---|
| 166 | param_named_auto width viewport_width
|
---|
| 167 | param_named_auto height viewport_height
|
---|
| 168 | param_named Stretch float 5.2
|
---|
| 169 | }
|
---|
| 170 | texture_unit
|
---|
| 171 | {
|
---|
| 172 | tex_address_mode mirror
|
---|
| 173 | texture rockwall.tga
|
---|
| 174 | }
|
---|
| 175 | }
|
---|
| 176 | }
|
---|
| 177 | }
|
---|
| 178 |
|
---|
| 179 | material GameTools/TextureCopy
|
---|
| 180 | {
|
---|
| 181 | technique
|
---|
| 182 | {
|
---|
| 183 | pass
|
---|
| 184 | {
|
---|
[835] | 185 | vertex_program_ref GameTools/PostProc1_VS
|
---|
[777] | 186 | {
|
---|
| 187 | }
|
---|
[835] | 188 | fragment_program_ref GameTools/TextureCopy_PS
|
---|
[777] | 189 | {
|
---|
| 190 | param_named_auto width viewport_width
|
---|
| 191 | param_named_auto height viewport_height
|
---|
| 192 |
|
---|
| 193 | }
|
---|
| 194 | texture_unit
|
---|
| 195 | {
|
---|
| 196 | // filtering none
|
---|
| 197 | texture rockwall.tga
|
---|
| 198 | }
|
---|
| 199 | }
|
---|
| 200 | }
|
---|
| 201 | }
|
---|
| 202 |
|
---|
| 203 | material GameTools/GlowAdd
|
---|
| 204 | {
|
---|
| 205 | technique
|
---|
| 206 | {
|
---|
| 207 | pass
|
---|
| 208 | {
|
---|
[835] | 209 | vertex_program_ref GameTools/PostProc1_VS
|
---|
[777] | 210 | {
|
---|
| 211 | }
|
---|
[835] | 212 | fragment_program_ref GameTools/GlowAdd_PS
|
---|
[777] | 213 | {
|
---|
| 214 | param_named_auto width viewport_width
|
---|
| 215 | param_named_auto height viewport_height
|
---|
| 216 |
|
---|
| 217 | }
|
---|
| 218 | texture_unit
|
---|
| 219 | {
|
---|
| 220 | // filtering none
|
---|
| 221 | texture rockwall.tga
|
---|
| 222 | }
|
---|
| 223 | texture_unit
|
---|
| 224 | {
|
---|
| 225 | // filtering none
|
---|
| 226 | texture rockwall.tga
|
---|
| 227 | }
|
---|
| 228 | }
|
---|
| 229 | }
|
---|
| 230 | }
|
---|
| 231 |
|
---|
| 232 | material GameTools/ToneMap
|
---|
| 233 | {
|
---|
| 234 | technique
|
---|
| 235 | {
|
---|
| 236 | pass
|
---|
| 237 | {
|
---|
[835] | 238 | vertex_program_ref GameTools/PostProc1_VS
|
---|
[777] | 239 | {
|
---|
| 240 | }
|
---|
[835] | 241 | fragment_program_ref GameTools/ToneMap_PS
|
---|
[777] | 242 | {
|
---|
| 243 | param_named_auto width viewport_width
|
---|
| 244 | param_named_auto height viewport_height
|
---|
| 245 | param_named Gain float 0.5
|
---|
| 246 | }
|
---|
| 247 | texture_unit
|
---|
| 248 | {
|
---|
| 249 | // filtering none
|
---|
| 250 | texture rockwall.tga
|
---|
| 251 | }
|
---|
| 252 | texture_unit
|
---|
| 253 | {
|
---|
| 254 | // filtering none
|
---|
| 255 | texture rockwall.tga
|
---|
| 256 | }
|
---|
| 257 | texture_unit
|
---|
| 258 | {
|
---|
| 259 | // filtering none
|
---|
| 260 | texture rockwall.tga
|
---|
| 261 | }
|
---|
| 262 | }
|
---|
| 263 | }
|
---|
| 264 | }
|
---|
| 265 |
|
---|
| 266 | material GameTools/UVShader
|
---|
| 267 | {
|
---|
| 268 | technique
|
---|
| 269 | {
|
---|
| 270 | pass
|
---|
| 271 | {
|
---|
[835] | 272 | vertex_program_ref GameTools/UV_VS
|
---|
[777] | 273 | {
|
---|
| 274 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 275 | }
|
---|
[835] | 276 | fragment_program_ref GameTools/UV_PS
|
---|
[777] | 277 | {
|
---|
| 278 | param_named_auto ID custom 0
|
---|
| 279 | }
|
---|
| 280 |
|
---|
| 281 |
|
---|
| 282 | }
|
---|
| 283 | }
|
---|
| 284 | }
|
---|
| 285 |
|
---|
| 286 |
|
---|
| 287 | material GameTools/Caustic/Default
|
---|
| 288 | {
|
---|
| 289 |
|
---|
| 290 | technique
|
---|
| 291 | {
|
---|
| 292 | pass
|
---|
| 293 | {
|
---|
| 294 | lighting off
|
---|
| 295 |
|
---|
[835] | 296 | vertex_program_ref GameTools/Caustic/DefaultVS
|
---|
[777] | 297 | {
|
---|
| 298 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 299 | param_named_auto world world_matrix
|
---|
| 300 | }
|
---|
[835] | 301 | fragment_program_ref GameTools/Caustic/DefaultPS
|
---|
[777] | 302 | {
|
---|
| 303 | param_named cubeMapCameraPosition float3 0 0 0
|
---|
| 304 | }
|
---|
| 305 |
|
---|
| 306 | texture_unit
|
---|
| 307 | {
|
---|
| 308 | filtering none
|
---|
| 309 | }
|
---|
| 310 |
|
---|
| 311 | texture_unit
|
---|
| 312 | {
|
---|
| 313 | //filtering linear linear linear
|
---|
| 314 | }
|
---|
| 315 | }
|
---|
| 316 | }
|
---|
| 317 | }
|
---|
| 318 |
|
---|
| 319 | material GameTools/SoftShadowReciever/Default
|
---|
| 320 | {
|
---|
| 321 |
|
---|
| 322 | technique
|
---|
| 323 | {
|
---|
| 324 | pass
|
---|
| 325 | {
|
---|
| 326 | lighting off
|
---|
| 327 |
|
---|
| 328 | vertex_program_ref GameTools/SoftShadow/VertexPrograms/DefaultVS
|
---|
| 329 | {
|
---|
| 330 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 331 | param_named_auto world world_matrix
|
---|
| 332 | }
|
---|
| 333 | fragment_program_ref GameTools/SoftShadow/FragmentPrograms/DefaultPS
|
---|
| 334 | {
|
---|
| 335 | param_named cubeMapCameraPosition float3 0 0 0
|
---|
| 336 | }
|
---|
| 337 |
|
---|
| 338 | texture_unit
|
---|
| 339 | {
|
---|
| 340 | texture rockwall.tga
|
---|
| 341 | //texture cubbe.jpg
|
---|
| 342 |
|
---|
| 343 | }
|
---|
| 344 |
|
---|
| 345 | texture_unit
|
---|
| 346 | {
|
---|
| 347 | //filtering linear linear linear
|
---|
| 348 | cubic_texture cubemap.jpg combinedUVW
|
---|
| 349 | env_map cubic_reflection
|
---|
| 350 | }
|
---|
| 351 | }
|
---|
| 352 | }
|
---|
| 353 | }
|
---|
| 354 |
|
---|
| 355 | material GameTools/SoftShadowReciever/Default2
|
---|
| 356 | {
|
---|
| 357 |
|
---|
| 358 | technique
|
---|
| 359 | {
|
---|
| 360 | pass
|
---|
| 361 | {
|
---|
| 362 | lighting off
|
---|
| 363 |
|
---|
| 364 | vertex_program_ref GameTools/SoftShadow/VertexPrograms/DefaultVS
|
---|
| 365 | {
|
---|
| 366 | param_named_auto world_IT inverse_transpose_world_matrix
|
---|
| 367 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 368 | param_named_auto world world_matrix
|
---|
| 369 | }
|
---|
| 370 | fragment_program_ref GameTools/SoftShadow/FragmentPrograms/Default2PS
|
---|
| 371 | {
|
---|
| 372 | param_named cubeMapCameraPosition float3 0 0 0
|
---|
| 373 | param_named_auto cameraPos camera_position
|
---|
| 374 | param_named_auto lightPosition light_position 0
|
---|
| 375 | }
|
---|
| 376 |
|
---|
| 377 | texture_unit
|
---|
| 378 | {
|
---|
| 379 | //filtering linear linear linear
|
---|
| 380 | cubic_texture cubemap.jpg combinedUVW
|
---|
| 381 | env_map cubic_reflection
|
---|
| 382 | }
|
---|
| 383 | }
|
---|
| 384 | }
|
---|
| 385 | }
|
---|
| 386 |
|
---|
| 387 | material GameTools/CausticSoftShadowReciever
|
---|
| 388 | {
|
---|
| 389 |
|
---|
| 390 | technique
|
---|
| 391 | {
|
---|
| 392 | pass
|
---|
| 393 | {
|
---|
| 394 | lighting off
|
---|
| 395 |
|
---|
| 396 | vertex_program_ref GameTools/CausticSoftShadowVS
|
---|
| 397 | {
|
---|
| 398 | param_named_auto world_IT worldviewproj_matrix
|
---|
| 399 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 400 | param_named_auto world world_matrix
|
---|
| 401 | }
|
---|
| 402 | fragment_program_ref GameTools/CausticSoftShadowPS
|
---|
| 403 | {
|
---|
| 404 | //param_named_auto world_IT inverse_worldview_matrix
|
---|
| 405 | param_named cubeMapCameraPosition float3 0 0 0
|
---|
| 406 | }
|
---|
| 407 |
|
---|
| 408 | texture_unit
|
---|
| 409 | {
|
---|
| 410 | //texture rockwall.tga
|
---|
| 411 | texture cubbe.jpg
|
---|
| 412 | }
|
---|
| 413 |
|
---|
| 414 | //texture_unit //caustic cubemap
|
---|
| 415 | //{
|
---|
| 416 | // //filtering linear linear linear
|
---|
| 417 | // cubic_texture cubemap.jpg combinedUVW
|
---|
| 418 | //}
|
---|
| 419 |
|
---|
| 420 | //texture_unit //softshadow cubemap
|
---|
| 421 | //{
|
---|
| 422 | // //filtering linear linear linear
|
---|
| 423 | // cubic_texture cubemap.jpg combinedUVW
|
---|
| 424 | //}
|
---|
| 425 |
|
---|
| 426 | texture_unit/bump
|
---|
| 427 | {
|
---|
| 428 | texture falnormal.dds
|
---|
| 429 | }
|
---|
| 430 | }
|
---|
| 431 | }
|
---|
| 432 | }
|
---|
| 433 |
|
---|
| 434 |
|
---|
| 435 | material GameTools/CubeMap/Default
|
---|
| 436 | {
|
---|
| 437 |
|
---|
| 438 | technique
|
---|
| 439 | {
|
---|
| 440 | pass
|
---|
| 441 | {
|
---|
| 442 | lighting off
|
---|
| 443 |
|
---|
| 444 |
|
---|
| 445 |
|
---|
| 446 | vertex_program_ref GameTools/CubeMap/VertexPrograms/DefaultVS
|
---|
| 447 | {
|
---|
| 448 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 449 | param_named_auto world world_matrix
|
---|
| 450 | }
|
---|
| 451 | fragment_program_ref GameTools/CubeMap/FragmentPrograms/DefaultPS
|
---|
| 452 | {
|
---|
| 453 | param_named_auto cameraPos camera_position
|
---|
| 454 | }
|
---|
| 455 |
|
---|
| 456 | //Cube map for reflections and refractions
|
---|
| 457 | texture_unit
|
---|
| 458 | {
|
---|
| 459 | cubic_texture cubemap.jpg combinedUVW
|
---|
| 460 | //env_map cubic_reflection
|
---|
| 461 | }
|
---|
| 462 |
|
---|
| 463 |
|
---|
| 464 | }
|
---|
| 465 | }
|
---|
| 466 | }
|
---|
| 467 |
|
---|
| 468 |
|
---|
| 469 |
|
---|
| 470 | material GameTools/CubeMap/Reduce
|
---|
| 471 | {
|
---|
| 472 |
|
---|
| 473 | technique
|
---|
| 474 | {
|
---|
| 475 | pass
|
---|
| 476 | {
|
---|
| 477 | //depth_check off
|
---|
| 478 | lighting off
|
---|
| 479 |
|
---|
| 480 | vertex_program_ref GameTools/CubeMap/VertexPrograms/ReduceVS
|
---|
| 481 | {
|
---|
| 482 | // param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 483 | // param_named_auto world world_matrix
|
---|
| 484 | }
|
---|
| 485 | fragment_program_ref GameTools/CubeMap/FragmentPrograms/ReducePS
|
---|
| 486 | {
|
---|
| 487 | //param_named_auto cameraPos camera_position
|
---|
| 488 | param_named nFace int 0
|
---|
| 489 | param_named CUBEMAP_SIZE int 256
|
---|
| 490 | //param_named RATE int 2
|
---|
| 491 |
|
---|
| 492 | }
|
---|
| 493 |
|
---|
| 494 | //Cube map for reflections and refractions
|
---|
| 495 | texture_unit
|
---|
| 496 | {
|
---|
| 497 | filtering point point point
|
---|
| 498 | cubic_texture cubemap.jpg combinedUVW
|
---|
| 499 | tex_address_mode clamp
|
---|
| 500 | // env_map cubic_reflection
|
---|
| 501 | colour_op modulate
|
---|
| 502 | }
|
---|
| 503 |
|
---|
| 504 |
|
---|
| 505 | }
|
---|
| 506 | }
|
---|
| 507 | }
|
---|
| 508 |
|
---|
| 509 |
|
---|
| 510 |
|
---|
| 511 | material GameTools/CubeMap/Localized
|
---|
| 512 | {
|
---|
| 513 |
|
---|
| 514 | technique
|
---|
| 515 | {
|
---|
| 516 |
|
---|
| 517 | pass
|
---|
| 518 | {
|
---|
[835] | 519 | IllumTechniques
|
---|
| 520 | {
|
---|
| 521 | RenderTechnique ColorCubeMap
|
---|
| 522 | {
|
---|
| 523 | update_interval 0
|
---|
| 524 | distance_calc true 3.5
|
---|
| 525 | }
|
---|
| 526 | RenderTechnique DistanceCubeMap
|
---|
| 527 | {
|
---|
| 528 | update_interval 0
|
---|
| 529 | distance_calc true 3.5
|
---|
| 530 | }
|
---|
| 531 | RenderTechnique CausticCaster
|
---|
| 532 | {
|
---|
| 533 |
|
---|
| 534 | }
|
---|
| 535 |
|
---|
| 536 | }
|
---|
| 537 |
|
---|
| 538 |
|
---|
[777] | 539 | vertex_program_ref GameTools/CubeMap/VertexPrograms/LocalizedVS
|
---|
| 540 | {
|
---|
| 541 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 542 | param_named_auto world world_matrix
|
---|
| 543 | }
|
---|
| 544 | fragment_program_ref GameTools/CubeMap/FragmentPrograms/LocalizedPS
|
---|
| 545 | {
|
---|
| 546 | param_named_auto cameraPos camera_position
|
---|
| 547 | param_named_auto lightPosition light_position 0
|
---|
| 548 | }
|
---|
| 549 |
|
---|
| 550 | //Cube map for reflections and refractions
|
---|
| 551 | texture_unit
|
---|
| 552 | {
|
---|
| 553 | cubic_texture cubemap.jpg combinedUVW
|
---|
| 554 | tex_address_mode clamp
|
---|
| 555 | colour_op replace
|
---|
| 556 | }
|
---|
| 557 |
|
---|
| 558 | //Cube map of distances
|
---|
| 559 | texture_unit
|
---|
| 560 | {
|
---|
| 561 | cubic_texture cubemap.jpg combinedUVW
|
---|
| 562 | tex_address_mode clamp
|
---|
| 563 | colour_op replace
|
---|
| 564 | }
|
---|
| 565 |
|
---|
| 566 |
|
---|
| 567 | }
|
---|
| 568 | }
|
---|
| 569 | }
|
---|
| 570 |
|
---|
| 571 | material GameTools/CubeMap/LocalizedBump
|
---|
| 572 | {
|
---|
| 573 |
|
---|
| 574 | technique
|
---|
| 575 | {
|
---|
| 576 |
|
---|
| 577 | pass
|
---|
| 578 | {
|
---|
| 579 | vertex_program_ref GameTools/CubeMap/VertexPrograms/LocalizedBumpVS
|
---|
| 580 | {
|
---|
| 581 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 582 | param_named_auto world world_matrix
|
---|
| 583 | }
|
---|
| 584 | fragment_program_ref GameTools/CubeMap/FragmentPrograms/LocalizedBumpPS
|
---|
| 585 | {
|
---|
| 586 | param_named_auto cameraPos camera_position
|
---|
| 587 | param_named_auto lightPosition light_position 0
|
---|
| 588 | }
|
---|
| 589 |
|
---|
| 590 | //Cube map for reflections and refractions
|
---|
| 591 | texture_unit
|
---|
| 592 | {
|
---|
| 593 | cubic_texture cubemap.jpg combinedUVW
|
---|
| 594 | tex_address_mode clamp
|
---|
| 595 | colour_op replace
|
---|
| 596 | }
|
---|
| 597 |
|
---|
| 598 | //Cube map of distances
|
---|
| 599 | texture_unit
|
---|
| 600 | {
|
---|
| 601 | cubic_texture cubemap.jpg combinedUVW
|
---|
| 602 | tex_address_mode clamp
|
---|
| 603 | colour_op replace
|
---|
| 604 | }
|
---|
| 605 |
|
---|
| 606 | //normal map
|
---|
| 607 | texture_unit
|
---|
| 608 | {
|
---|
| 609 | texture atheneNormalMapNew.dds
|
---|
| 610 | //texture atheneNormalMap.png
|
---|
| 611 | }
|
---|
| 612 | texture_unit
|
---|
| 613 | {
|
---|
| 614 | texture atheneDisplacementMap.bmp
|
---|
| 615 | }
|
---|
| 616 |
|
---|
| 617 |
|
---|
| 618 | }
|
---|
| 619 | }
|
---|
| 620 | }
|
---|
| 621 |
|
---|
| 622 | material GameTools/CubeMap/Diffuse
|
---|
| 623 | {
|
---|
| 624 | technique
|
---|
| 625 | {
|
---|
| 626 | pass
|
---|
| 627 | {
|
---|
[835] | 628 | vertex_program_ref GameTools/DiffuseVS
|
---|
[777] | 629 | {
|
---|
| 630 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 631 | param_named_auto world world_matrix
|
---|
| 632 |
|
---|
| 633 | }
|
---|
[835] | 634 | fragment_program_ref GameTools/DiffusePS
|
---|
[777] | 635 | {
|
---|
| 636 | param_named_auto cameraPos camera_position
|
---|
| 637 | param_named REDUCED_CUBEMAP_SIZE int 8
|
---|
| 638 | param_named lastCenter float3 0 0 0
|
---|
| 639 | }
|
---|
| 640 |
|
---|
| 641 | //Cube map for reflections and refractions
|
---|
| 642 | texture_unit
|
---|
| 643 | {
|
---|
| 644 | cubic_texture cubemap.jpg combinedUVW
|
---|
| 645 | tex_address_mode clamp
|
---|
| 646 | colour_op replace
|
---|
| 647 | }
|
---|
| 648 |
|
---|
| 649 | //Cube map of distances
|
---|
| 650 | texture_unit
|
---|
| 651 | {
|
---|
| 652 | cubic_texture cubemap.jpg combinedUVW
|
---|
| 653 | tex_address_mode clamp
|
---|
| 654 | colour_op replace
|
---|
| 655 | }
|
---|
| 656 | }
|
---|
| 657 | }
|
---|
| 658 | }
|
---|
| 659 |
|
---|
| 660 |
|
---|
| 661 |
|
---|
| 662 | material GameTools/CubeMap/LocalizedMetal
|
---|
| 663 | {
|
---|
| 664 |
|
---|
| 665 | technique
|
---|
| 666 | {
|
---|
| 667 | pass
|
---|
| 668 | {
|
---|
| 669 | vertex_program_ref GameTools/CubeMap/VertexPrograms/LocalizedVS
|
---|
| 670 | {
|
---|
| 671 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 672 | param_named_auto world world_matrix
|
---|
| 673 |
|
---|
| 674 | }
|
---|
| 675 | fragment_program_ref GameTools/CubeMap/FragmentPrograms/LocalizedMetalPS
|
---|
| 676 | {
|
---|
| 677 | param_named_auto cameraPos camera_position
|
---|
| 678 | param_named n float3 0.21 0.96 1.17
|
---|
| 679 | param_named k float3 4.16 2.57 2.32
|
---|
| 680 | }
|
---|
| 681 |
|
---|
| 682 | //Cube map for reflections and refractions
|
---|
| 683 | texture_unit
|
---|
| 684 | {
|
---|
| 685 | cubic_texture cubemap.jpg combinedUVW
|
---|
| 686 | tex_address_mode clamp
|
---|
| 687 | colour_op replace
|
---|
| 688 | }
|
---|
| 689 |
|
---|
| 690 | //Cube map of distances
|
---|
| 691 | texture_unit
|
---|
| 692 | {
|
---|
| 693 | cubic_texture cubemap.jpg combinedUVW
|
---|
| 694 | tex_address_mode clamp
|
---|
| 695 | colour_op replace
|
---|
| 696 | }
|
---|
| 697 |
|
---|
| 698 |
|
---|
| 699 | }
|
---|
| 700 | }
|
---|
| 701 | }
|
---|
| 702 |
|
---|
| 703 |
|
---|
| 704 | material GameTools/DistanceShader
|
---|
| 705 | {
|
---|
| 706 |
|
---|
| 707 | technique
|
---|
| 708 | {
|
---|
| 709 | pass
|
---|
| 710 | {
|
---|
[835] | 711 | vertex_program_ref GameTools/DistanceVS
|
---|
[777] | 712 | {
|
---|
| 713 | param_named_auto worldView worldview_matrix
|
---|
| 714 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 715 | }
|
---|
[835] | 716 | fragment_program_ref GameTools/DistancePS
|
---|
[777] | 717 | {
|
---|
| 718 |
|
---|
| 719 | }
|
---|
| 720 |
|
---|
| 721 | }
|
---|
| 722 | }
|
---|
| 723 | }
|
---|
| 724 |
|
---|
| 725 |
|
---|
| 726 | material GameTools/PhotonMapCaustic
|
---|
| 727 | {
|
---|
| 728 | technique
|
---|
| 729 | {
|
---|
| 730 |
|
---|
| 731 | pass
|
---|
| 732 | {
|
---|
| 733 | vertex_program_ref GameTools/CubeMap/VertexPrograms/LocalizedVS
|
---|
| 734 | {
|
---|
| 735 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 736 | param_named_auto world world_matrix
|
---|
| 737 | }
|
---|
[835] | 738 | fragment_program_ref GameTools/PhotonMapCausticPS
|
---|
[777] | 739 | {
|
---|
| 740 | param_named_auto cameraPos camera_position
|
---|
| 741 | param_named lastCenter float3 0 0 0
|
---|
| 742 | }
|
---|
| 743 |
|
---|
| 744 | //Cube map for reflections and refractions
|
---|
| 745 | texture_unit
|
---|
| 746 | {
|
---|
| 747 | cubic_texture
|
---|
| 748 | filtering none
|
---|
| 749 | //tex_address_mode clamp
|
---|
| 750 | }
|
---|
| 751 |
|
---|
| 752 | }
|
---|
| 753 | }
|
---|
| 754 | }
|
---|
| 755 |
|
---|
| 756 |
|
---|
| 757 | material GameTools/PhotonMapSoftShadow
|
---|
| 758 | {
|
---|
| 759 | technique
|
---|
| 760 | {
|
---|
| 761 | pass
|
---|
| 762 | {
|
---|
| 763 | vertex_program_ref GameTools/CubeMap/VertexPrograms/LocalizedVS
|
---|
| 764 | {
|
---|
| 765 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 766 | param_named_auto world world_matrix
|
---|
| 767 | }
|
---|
[835] | 768 | fragment_program_ref GameTools/PhotonMapSoftShadowPS
|
---|
[777] | 769 | {
|
---|
| 770 | param_named_auto cameraPos camera_position
|
---|
| 771 | param_named lastCenter float3 0 0 0
|
---|
| 772 | }
|
---|
| 773 |
|
---|
| 774 | //Cube map for reflections and refractions
|
---|
| 775 | texture_unit
|
---|
| 776 | {
|
---|
| 777 | cubic_texture cubemap.jpg combinedUVW
|
---|
| 778 | tex_address_mode clamp
|
---|
| 779 | colour_op replace
|
---|
| 780 | env_map cubic_reflection
|
---|
| 781 | }
|
---|
| 782 |
|
---|
| 783 | //Cube map of distances
|
---|
| 784 | texture_unit
|
---|
| 785 | {
|
---|
| 786 | cubic_texture cubemap.jpg combinedUVW
|
---|
| 787 | tex_address_mode clamp
|
---|
| 788 | colour_op replace
|
---|
| 789 | }
|
---|
| 790 | }
|
---|
| 791 | }
|
---|
| 792 | }
|
---|
| 793 |
|
---|
| 794 |
|
---|
| 795 |
|
---|
| 796 |
|
---|
| 797 | material GameTools/SceneCameraDepthShader
|
---|
| 798 | {
|
---|
| 799 |
|
---|
| 800 | technique
|
---|
| 801 | {
|
---|
| 802 | scene_blend none
|
---|
| 803 |
|
---|
| 804 | pass
|
---|
| 805 | {
|
---|
[835] | 806 | vertex_program_ref GameTools/SceneCameraDepthVS
|
---|
[777] | 807 | {
|
---|
| 808 | param_named_auto worldView worldview_matrix
|
---|
| 809 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 810 | param_named_auto farplane far_clip_distance
|
---|
| 811 | }
|
---|
[835] | 812 | fragment_program_ref GameTools/SceneDepthPS
|
---|
[777] | 813 | {
|
---|
| 814 |
|
---|
| 815 | }
|
---|
| 816 |
|
---|
| 817 | }
|
---|
| 818 | }
|
---|
| 819 | }
|
---|
| 820 |
|
---|
| 821 | material GameTools/ShadowMapDepth
|
---|
| 822 | {
|
---|
| 823 |
|
---|
| 824 | technique
|
---|
| 825 | {
|
---|
| 826 | scene_blend none
|
---|
| 827 |
|
---|
| 828 | pass
|
---|
| 829 | {
|
---|
[807] | 830 | cull_hardware anticlockwise
|
---|
| 831 |
|
---|
[777] | 832 | vertex_program_ref GameTools/ShadowMap/DepthVS
|
---|
| 833 | {
|
---|
| 834 | param_named_auto worldView worldview_matrix
|
---|
| 835 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 836 |
|
---|
| 837 | }
|
---|
| 838 | fragment_program_ref GameTools/ShadowMap/DepthPS
|
---|
| 839 | {
|
---|
| 840 |
|
---|
| 841 | }
|
---|
[807] | 842 |
|
---|
[777] | 843 | }
|
---|
| 844 | }
|
---|
| 845 | }
|
---|
| 846 |
|
---|
| 847 | material GameTools/Cau
|
---|
| 848 | {
|
---|
| 849 | technique
|
---|
| 850 | {
|
---|
| 851 | pass
|
---|
| 852 |
|
---|
| 853 | cull_hardware none
|
---|
| 854 | cull_software none
|
---|
| 855 | lighting off
|
---|
| 856 | scene_blend add
|
---|
| 857 | scene_blend src_alpha one
|
---|
| 858 | depth_write off
|
---|
| 859 |
|
---|
| 860 | vertex_program_ref GameTools/CauVS
|
---|
| 861 | {
|
---|
| 862 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 863 | param_named_auto worldView worldview_matrix
|
---|
| 864 | param_named_auto Proj projection_matrix
|
---|
| 865 | param_named_auto resolution viewport_width
|
---|
| 866 | param_named CauSpriteSize float 1.0
|
---|
| 867 | }
|
---|
| 868 | fragment_program_ref GameTools/CauPS
|
---|
| 869 | {
|
---|
| 870 | param_named CauSpriteIntens float 1.0
|
---|
| 871 | }
|
---|
| 872 |
|
---|
| 873 | texture_unit
|
---|
| 874 | {
|
---|
| 875 | vertex_texture true
|
---|
| 876 | texture flare.png
|
---|
| 877 | }
|
---|
| 878 | texture_unit
|
---|
| 879 | {
|
---|
| 880 | texture PowerOfPhotonHitTexel.dds
|
---|
| 881 | }
|
---|
| 882 |
|
---|
| 883 | }
|
---|
| 884 | }
|
---|
| 885 | }
|
---|
| 886 |
|
---|
| 887 | material GameTools/SpriteShader
|
---|
| 888 | {
|
---|
| 889 |
|
---|
| 890 | technique
|
---|
| 891 | {
|
---|
| 892 | pass
|
---|
| 893 | {
|
---|
| 894 |
|
---|
| 895 | cull_hardware none
|
---|
| 896 | cull_software none
|
---|
| 897 | lighting off
|
---|
| 898 | scene_blend add
|
---|
| 899 | depth_write off
|
---|
| 900 |
|
---|
[835] | 901 | vertex_program_ref GameTools/SpriteVS
|
---|
[777] | 902 | {
|
---|
| 903 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 904 | param_named_auto worldView worldview_matrix
|
---|
| 905 | param_named_auto Proj projection_matrix
|
---|
| 906 | }
|
---|
[835] | 907 | fragment_program_ref GameTools/SpritePS
|
---|
[777] | 908 | {
|
---|
| 909 |
|
---|
| 910 | }
|
---|
| 911 |
|
---|
| 912 | texture_unit
|
---|
| 913 | {
|
---|
| 914 | texture flare.png
|
---|
| 915 | }
|
---|
| 916 |
|
---|
| 917 | }
|
---|
| 918 | }
|
---|
| 919 | }
|
---|
| 920 |
|
---|
| 921 |
|
---|
| 922 | material GameTools/SBB
|
---|
| 923 | {
|
---|
| 924 |
|
---|
| 925 | technique
|
---|
| 926 | {
|
---|
| 927 | pass
|
---|
| 928 | {
|
---|
| 929 | lighting off
|
---|
| 930 |
|
---|
| 931 | scene_blend src_alpha one
|
---|
| 932 | //scene_blend src_alpha one_minus_src_alpha
|
---|
| 933 | depth_write off
|
---|
| 934 | depth_check off
|
---|
| 935 |
|
---|
[835] | 936 | vertex_program_ref GameTools/SBBVS
|
---|
[777] | 937 | {
|
---|
| 938 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 939 | param_named_auto worldView worldview_matrix
|
---|
| 940 | param_named_auto Proj projection_matrix
|
---|
| 941 | param_named_auto width viewport_width
|
---|
| 942 | param_named_auto height viewport_height
|
---|
| 943 |
|
---|
| 944 |
|
---|
| 945 | }
|
---|
[835] | 946 | fragment_program_ref GameTools/SBBPS
|
---|
[777] | 947 | {
|
---|
| 948 | param_named_auto farplane far_clip_distance
|
---|
| 949 | param_named_auto nearplane near_clip_distance
|
---|
| 950 |
|
---|
| 951 | }
|
---|
| 952 |
|
---|
| 953 | texture_unit
|
---|
| 954 | {
|
---|
| 955 | anim_texture smokealpha.tga 32 2.0
|
---|
| 956 | //texture flare.png
|
---|
| 957 | }
|
---|
| 958 |
|
---|
| 959 | texture_unit
|
---|
| 960 | {
|
---|
| 961 | filtering none
|
---|
| 962 | }
|
---|
| 963 |
|
---|
| 964 | texture_unit
|
---|
| 965 | {
|
---|
| 966 | texture planck.tga
|
---|
| 967 | }
|
---|
| 968 |
|
---|
| 969 | }
|
---|
| 970 | }
|
---|
| 971 | } |
---|