Revision 692,
1.9 KB
checked in by mattausch, 19 years ago
(diff) |
adding ogre 1.2 and dependencies
|
Rev | Line | |
---|
[692] | 1 | // Post processors
|
---|
| 2 |
|
---|
| 3 | material DeferredShading/Post/Multi
|
---|
| 4 | {
|
---|
| 5 | technique
|
---|
| 6 | {
|
---|
| 7 | pass
|
---|
| 8 | {
|
---|
| 9 | // Ambient and depth write pass
|
---|
| 10 | cull_hardware none
|
---|
| 11 | cull_software none
|
---|
| 12 | //depth_check off
|
---|
| 13 | depth_write on
|
---|
| 14 |
|
---|
| 15 | fragment_program_ref DeferredShading/post/hlsl/Ambient_ps
|
---|
| 16 | {
|
---|
| 17 | }
|
---|
| 18 | vertex_program_ref DeferredShading/post/hlsl/vs
|
---|
| 19 | {
|
---|
| 20 | }
|
---|
| 21 | texture_unit
|
---|
| 22 | {
|
---|
| 23 | tex_address_mode clamp
|
---|
| 24 | filtering none
|
---|
| 25 | }
|
---|
| 26 | texture_unit
|
---|
| 27 | {
|
---|
| 28 | tex_address_mode clamp
|
---|
| 29 | filtering none
|
---|
| 30 | }
|
---|
| 31 | }
|
---|
| 32 | pass
|
---|
| 33 | {
|
---|
| 34 | scene_blend add
|
---|
| 35 | cull_hardware none
|
---|
| 36 | cull_software none
|
---|
| 37 | iteration once_per_light
|
---|
| 38 | depth_write off
|
---|
| 39 | //depth_check off
|
---|
| 40 |
|
---|
| 41 | fragment_program_ref DeferredShading/post/hlsl/GlobalLight_ps
|
---|
| 42 | {
|
---|
| 43 | }
|
---|
| 44 | vertex_program_ref DeferredShading/post/hlsl/vs
|
---|
| 45 | {
|
---|
| 46 | }
|
---|
| 47 | texture_unit
|
---|
| 48 | {
|
---|
| 49 | tex_address_mode clamp
|
---|
| 50 | filtering none
|
---|
| 51 | }
|
---|
| 52 | texture_unit
|
---|
| 53 | {
|
---|
| 54 | tex_address_mode clamp
|
---|
| 55 | filtering none
|
---|
| 56 | }
|
---|
| 57 | }
|
---|
| 58 | }
|
---|
| 59 | technique
|
---|
| 60 | {
|
---|
| 61 | pass
|
---|
| 62 | {
|
---|
| 63 | // Ambient and depth write pass
|
---|
| 64 | cull_hardware none
|
---|
| 65 | cull_software none
|
---|
| 66 | //depth_check off
|
---|
| 67 | depth_write on
|
---|
| 68 |
|
---|
| 69 | fragment_program_ref DeferredShading/post/glsl/Ambient_ps
|
---|
| 70 | {
|
---|
| 71 | }
|
---|
| 72 | vertex_program_ref DeferredShading/post/glsl/vs
|
---|
| 73 | {
|
---|
| 74 | }
|
---|
| 75 | texture_unit
|
---|
| 76 | {
|
---|
| 77 | tex_address_mode clamp
|
---|
| 78 | filtering none
|
---|
| 79 | }
|
---|
| 80 | texture_unit
|
---|
| 81 | {
|
---|
| 82 | tex_address_mode clamp
|
---|
| 83 | filtering none
|
---|
| 84 | }
|
---|
| 85 | }
|
---|
| 86 | pass
|
---|
| 87 | {
|
---|
| 88 | scene_blend add
|
---|
| 89 | cull_hardware none
|
---|
| 90 | cull_software none
|
---|
| 91 | iteration once_per_light
|
---|
| 92 | depth_write off
|
---|
| 93 | depth_check off
|
---|
| 94 |
|
---|
| 95 | fragment_program_ref DeferredShading/post/glsl/GlobalLight_ps
|
---|
| 96 | {
|
---|
| 97 | }
|
---|
| 98 | vertex_program_ref DeferredShading/post/glsl/vs
|
---|
| 99 | {
|
---|
| 100 | }
|
---|
| 101 | texture_unit
|
---|
| 102 | {
|
---|
| 103 | tex_address_mode clamp
|
---|
| 104 | filtering none
|
---|
| 105 | }
|
---|
| 106 | texture_unit
|
---|
| 107 | {
|
---|
| 108 | tex_address_mode clamp
|
---|
| 109 | filtering none
|
---|
| 110 | }
|
---|
| 111 | }
|
---|
| 112 | }
|
---|
| 113 | }
|
---|
| 114 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.