Rev | Line | |
---|
[2398] | 1 | compositor GTP/Moria/PostProc/DoF
|
---|
| 2 | {
|
---|
| 3 | technique
|
---|
| 4 | {
|
---|
| 5 | texture scene target_width target_height PF_FLOAT16_RGBA
|
---|
| 6 |
|
---|
| 7 | texture rt1 1 1 PF_FLOAT16_RGBA
|
---|
| 8 |
|
---|
| 9 | target scene
|
---|
| 10 | {
|
---|
| 11 | // Render output from previous compositor (or original scene)
|
---|
| 12 | input previous
|
---|
| 13 | }
|
---|
| 14 | target rt1
|
---|
| 15 | {
|
---|
| 16 | input none
|
---|
| 17 | only_initial on
|
---|
| 18 | pass clear
|
---|
| 19 | {
|
---|
| 20 | }
|
---|
| 21 | }
|
---|
| 22 | target rt1
|
---|
| 23 | {
|
---|
| 24 | input none
|
---|
| 25 | pass render_quad
|
---|
| 26 | {
|
---|
| 27 | clear
|
---|
| 28 | {
|
---|
| 29 | buffers depth
|
---|
| 30 | }
|
---|
| 31 | material GTP/Moria/PostProc/SampleCenter
|
---|
| 32 | input 0 scene
|
---|
| 33 | }
|
---|
| 34 | }
|
---|
| 35 |
|
---|
| 36 | target_output
|
---|
| 37 | {
|
---|
| 38 | input none
|
---|
| 39 | pass render_quad
|
---|
| 40 | {
|
---|
| 41 | material GTP/Moria/PostProc/DoF
|
---|
| 42 | input 0 scene
|
---|
| 43 | input 1 rt1
|
---|
| 44 | }
|
---|
| 45 | }
|
---|
| 46 | }
|
---|
| 47 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.