Rev | Line | |
---|
[1] | 1 | // Post processors |
---|
| 2 | material DeferredShading/Post/Single |
---|
| 3 | { |
---|
| 4 | technique |
---|
| 5 | { |
---|
| 6 | pass |
---|
| 7 | { |
---|
| 8 | cull_hardware none |
---|
| 9 | cull_software none |
---|
| 10 | depth_func always_pass |
---|
| 11 | depth_write on |
---|
| 12 | // Doesn't work for some reason |
---|
| 13 | //depth_check off |
---|
| 14 | |
---|
| 15 | fragment_program_ref DeferredShading/post/hlsl/SinglePass_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_coord_set 1 |
---|
| 29 | tex_address_mode clamp |
---|
| 30 | filtering none |
---|
| 31 | } |
---|
| 32 | } |
---|
| 33 | } |
---|
| 34 | technique |
---|
| 35 | { |
---|
| 36 | pass |
---|
| 37 | { |
---|
| 38 | cull_hardware none |
---|
| 39 | cull_software none |
---|
| 40 | depth_func always_pass |
---|
| 41 | depth_write on |
---|
| 42 | // Doesn't work for some reason |
---|
| 43 | //depth_check off |
---|
| 44 | |
---|
| 45 | fragment_program_ref DeferredShading/post/glsl/SinglePass_ps |
---|
| 46 | { |
---|
| 47 | } |
---|
| 48 | vertex_program_ref DeferredShading/post/glsl/vs |
---|
| 49 | { |
---|
| 50 | } |
---|
| 51 | texture_unit |
---|
| 52 | { |
---|
| 53 | tex_address_mode clamp |
---|
| 54 | filtering none |
---|
| 55 | } |
---|
| 56 | texture_unit |
---|
| 57 | { |
---|
| 58 | tex_coord_set 1 |
---|
| 59 | tex_address_mode clamp |
---|
| 60 | filtering none |
---|
| 61 | } |
---|
| 62 | } |
---|
| 63 | } |
---|
| 64 | } |
---|
| 65 | |
---|
Note: See
TracBrowser
for help on using the repository browser.