Rev | Line | |
---|
[2024] | 1 | compositor GTP/PostProc/ToneMap
|
---|
| 2 | {
|
---|
| 3 | technique
|
---|
| 4 | {
|
---|
| 5 | texture scene target_width target_height PF_FLOAT16_RGBA
|
---|
| 6 | texture luminance 256 256 PF_FLOAT16_RGBA
|
---|
| 7 | texture rt0 256 256 PF_FLOAT16_RGBA
|
---|
| 8 | texture rt1 256 256 PF_FLOAT16_RGBA
|
---|
| 9 | texture rt2 128 128 PF_FLOAT16_RGBA
|
---|
| 10 | texture rt3 32 32 PF_FLOAT16_RGBA
|
---|
| 11 | texture rt4 8 8 PF_FLOAT16_RGBA
|
---|
| 12 | texture rt5 2 2 PF_FLOAT16_RGBA
|
---|
| 13 |
|
---|
| 14 | target scene
|
---|
| 15 | {
|
---|
| 16 | input previous
|
---|
| 17 | }
|
---|
| 18 | target luminance
|
---|
| 19 | {
|
---|
| 20 | input none
|
---|
| 21 | pass render_quad
|
---|
| 22 | {
|
---|
| 23 | material GTP/PostProc/Luminance
|
---|
| 24 | input 0 scene
|
---|
| 25 | }
|
---|
| 26 | }
|
---|
| 27 | target rt0
|
---|
| 28 | {
|
---|
| 29 | input none
|
---|
| 30 | pass render_quad
|
---|
| 31 | {
|
---|
| 32 | material GTP/PostProc/GlowBlurV
|
---|
| 33 | input 0 luminance
|
---|
| 34 | }
|
---|
| 35 | }
|
---|
| 36 | target rt1
|
---|
| 37 | {
|
---|
| 38 | input none
|
---|
| 39 | pass render_quad
|
---|
| 40 | {
|
---|
| 41 | material GTP/PostProc/GlowBlurH
|
---|
| 42 | input 0 rt0
|
---|
| 43 | }
|
---|
| 44 | }
|
---|
| 45 | target rt2
|
---|
| 46 | {
|
---|
| 47 | input none
|
---|
| 48 | pass render_quad
|
---|
| 49 | {
|
---|
| 50 | material GTP/PostProc/GlowBlurV
|
---|
| 51 | input 0 rt1
|
---|
| 52 | }
|
---|
| 53 | }
|
---|
| 54 | target rt3
|
---|
| 55 | {
|
---|
| 56 | input none
|
---|
| 57 | pass render_quad
|
---|
| 58 | {
|
---|
| 59 | material GTP/PostProc/GlowBlurH
|
---|
| 60 | input 0 rt2
|
---|
| 61 | }
|
---|
| 62 | }
|
---|
| 63 | target rt4
|
---|
| 64 | {
|
---|
| 65 | input none
|
---|
| 66 | pass render_quad
|
---|
| 67 | {
|
---|
| 68 | material GTP/PostProc/GlowBlurV
|
---|
| 69 | input 0 rt3
|
---|
| 70 | }
|
---|
| 71 | }
|
---|
| 72 | target rt5
|
---|
| 73 | {
|
---|
| 74 | input none
|
---|
| 75 | only_initial on
|
---|
| 76 | pass clear
|
---|
| 77 | {
|
---|
| 78 | }
|
---|
| 79 | }
|
---|
| 80 | target rt5
|
---|
| 81 | {
|
---|
| 82 | input none
|
---|
| 83 | pass render_quad
|
---|
| 84 | {
|
---|
| 85 | clear
|
---|
| 86 | {
|
---|
| 87 | buffers depth
|
---|
| 88 | }
|
---|
| 89 | material GTP/PostProc/GlowBlurH_TB
|
---|
| 90 | input 0 rt4
|
---|
| 91 | }
|
---|
| 92 | }
|
---|
| 93 | target_output
|
---|
| 94 | {
|
---|
| 95 | input none
|
---|
| 96 | pass render_quad
|
---|
| 97 | {
|
---|
| 98 | material GTP/PostProc/ToneMap
|
---|
| 99 | input 0 scene
|
---|
| 100 | input 1 rt1
|
---|
| 101 | input 2 luminance
|
---|
| 102 | input 3 rt5
|
---|
| 103 | }
|
---|
| 104 | }
|
---|
| 105 | }
|
---|
| 106 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.