[2398] | 1 | material GTP/Moria/PostProc/GlowCut : GTP/PostProc/GlowCut
|
---|
| 2 | {
|
---|
[2414] | 3 | technique maintechnique
|
---|
[2398] | 4 | {
|
---|
[2414] | 5 | pass mainpass
|
---|
[2398] | 6 | {
|
---|
| 7 | fragment_program_ref
|
---|
| 8 | {
|
---|
[2414] | 9 | param_named cutValue float 2.0
|
---|
| 10 | param_named timeBlur float 0.3
|
---|
[2398] | 11 | }
|
---|
| 12 | }
|
---|
| 13 | }
|
---|
| 14 | }
|
---|
| 15 |
|
---|
[2414] | 16 | material GTP/Moria/GlowFinalCombine : GTP/PostProc/Combine
|
---|
| 17 | {
|
---|
| 18 | technique maintechnique
|
---|
| 19 | {
|
---|
| 20 | pass mainpass
|
---|
| 21 | {
|
---|
| 22 | fragment_program_ref GTP/PostProc/Combine_PS
|
---|
| 23 | {
|
---|
| 24 | param_named weight1 float 1.0
|
---|
| 25 | param_named weight2 float 0.35
|
---|
| 26 | }
|
---|
| 27 | }
|
---|
| 28 | }
|
---|
| 29 | }
|
---|
| 30 |
|
---|
[2398] | 31 | material GTP/Moria/PostProc/GlowBlurH : GTP/PostProc/GlowBlurH
|
---|
| 32 | {
|
---|
[2414] | 33 | technique maintechnique
|
---|
[2398] | 34 | {
|
---|
[2414] | 35 | pass mainpass
|
---|
[2398] | 36 | {
|
---|
| 37 | fragment_program_ref
|
---|
| 38 | {
|
---|
[2414] | 39 | param_named Stretch float 1.7
|
---|
[2398] | 40 | }
|
---|
| 41 | }
|
---|
| 42 | }
|
---|
| 43 | }
|
---|
| 44 |
|
---|
| 45 | material GTP/Moria/PostProc/GlowBlurV : GTP/PostProc/GlowBlurV
|
---|
| 46 | {
|
---|
[2414] | 47 | technique maintechnique
|
---|
[2398] | 48 | {
|
---|
[2414] | 49 | pass mainpass
|
---|
[2398] | 50 | {
|
---|
| 51 | fragment_program_ref
|
---|
| 52 | {
|
---|
[2414] | 53 | param_named Stretch float 1.7
|
---|
[2398] | 54 | }
|
---|
| 55 | }
|
---|
| 56 | }
|
---|
| 57 | }
|
---|
| 58 |
|
---|
| 59 |
|
---|
| 60 | fragment_program GTP/Moria/PostProc/DoF_PS hlsl
|
---|
| 61 | {
|
---|
| 62 | source GTPMoriaPostProc.hlsl
|
---|
| 63 | entry_point DoF_PS
|
---|
| 64 | target ps_3_0
|
---|
| 65 | }
|
---|
| 66 |
|
---|
| 67 | material GTP/Moria/PostProc/DoF
|
---|
| 68 | {
|
---|
| 69 | technique
|
---|
| 70 | {
|
---|
| 71 | pass
|
---|
| 72 | {
|
---|
| 73 | vertex_program_ref GTP/PostProc/PostProc_VS
|
---|
| 74 | {
|
---|
| 75 |
|
---|
| 76 | }
|
---|
| 77 | fragment_program_ref GTP/Moria/PostProc/DoF_PS
|
---|
| 78 | {
|
---|
| 79 | param_named_auto width viewport_width
|
---|
| 80 | param_named_auto height viewport_height
|
---|
| 81 | param_named focalDist float 2.0
|
---|
| 82 | param_named focalRange float 0.02
|
---|
[2458] | 83 | param_named maxCoC float 10
|
---|
[2398] | 84 |
|
---|
| 85 | }
|
---|
| 86 | texture_unit
|
---|
| 87 | {
|
---|
| 88 | filtering none
|
---|
| 89 | tex_address_mode clamp
|
---|
| 90 | }
|
---|
| 91 | texture_unit
|
---|
| 92 | {
|
---|
| 93 | filtering none
|
---|
| 94 | tex_address_mode clamp
|
---|
| 95 | }
|
---|
| 96 | }
|
---|
| 97 | }
|
---|
| 98 | }
|
---|
| 99 |
|
---|
| 100 | fragment_program GTP/Moria/PostProc/SampleCenter_PS hlsl
|
---|
| 101 | {
|
---|
| 102 | source GTPMoriaPostProc.hlsl
|
---|
| 103 | entry_point sampleCenter_PS
|
---|
| 104 | target ps_2_0
|
---|
| 105 | }
|
---|
| 106 |
|
---|
| 107 | material GTP/Moria/PostProc/SampleCenter
|
---|
| 108 | {
|
---|
| 109 | technique
|
---|
| 110 | {
|
---|
| 111 | pass
|
---|
| 112 | {
|
---|
| 113 | scene_blend alpha_blend
|
---|
| 114 | depth_dest off
|
---|
| 115 | vertex_program_ref GTP/PostProc/PostProc_VS
|
---|
| 116 | {
|
---|
| 117 |
|
---|
| 118 | }
|
---|
| 119 | fragment_program_ref GTP/Moria/PostProc/SampleCenter_PS
|
---|
| 120 | {
|
---|
| 121 | param_named_auto blending frame_time 4.0
|
---|
| 122 | }
|
---|
| 123 | texture_unit
|
---|
| 124 | {
|
---|
| 125 | filtering none
|
---|
| 126 | tex_address_mode clamp
|
---|
| 127 | }
|
---|
| 128 | }
|
---|
| 129 | }
|
---|
| 130 | }
|
---|