[1094] | 1 | material GameTools/PostProcBlack
|
---|
| 2 | {
|
---|
| 3 | technique
|
---|
| 4 | {
|
---|
| 5 | pass
|
---|
| 6 | {
|
---|
| 7 | vertex_program_ref GameTools/PostProc1_VS
|
---|
| 8 | {
|
---|
| 9 | }
|
---|
| 10 | fragment_program_ref GameTools/PostProc_Black
|
---|
| 11 | {
|
---|
| 12 |
|
---|
| 13 | }
|
---|
| 14 | }
|
---|
| 15 | }
|
---|
| 16 | }
|
---|
| 17 | material GameTools/PostProc1
|
---|
| 18 | {
|
---|
| 19 | technique
|
---|
| 20 | {
|
---|
| 21 | pass
|
---|
| 22 | {
|
---|
| 23 | vertex_program_ref GameTools/PostProc1_VS
|
---|
| 24 | {
|
---|
| 25 | }
|
---|
| 26 | fragment_program_ref GameTools/PostProc1_PS
|
---|
| 27 | {
|
---|
| 28 |
|
---|
| 29 | }
|
---|
| 30 | texture_unit
|
---|
| 31 | {
|
---|
| 32 | // filtering none
|
---|
| 33 | texture rockwall.tga
|
---|
| 34 | }
|
---|
| 35 | }
|
---|
| 36 | }
|
---|
| 37 | }
|
---|
| 38 |
|
---|
| 39 | material GameTools/GlowCut
|
---|
| 40 | {
|
---|
| 41 | technique
|
---|
| 42 | {
|
---|
| 43 | pass
|
---|
| 44 | {
|
---|
[1282] | 45 | vertex_program_ref GameTools/PostProc1_VS
|
---|
[1094] | 46 | {
|
---|
| 47 | }
|
---|
[1282] | 48 | fragment_program_ref GameTools/GlowCut_PS
|
---|
[1094] | 49 | {
|
---|
[1282] | 50 | param_named_auto width viewport_width
|
---|
| 51 | param_named_auto height viewport_height
|
---|
[1683] | 52 | param_named cutValue float 10.0
|
---|
| 53 | //param_named cutValue float 4.5
|
---|
| 54 | param_named timeBlur float 0.4
|
---|
[1094] | 55 |
|
---|
| 56 | }
|
---|
| 57 | texture_unit
|
---|
[1282] | 58 | {
|
---|
| 59 | //filtering none
|
---|
| 60 | }
|
---|
| 61 | texture_unit
|
---|
| 62 | {
|
---|
| 63 | //filtering none
|
---|
| 64 | }
|
---|
[1094] | 65 | }
|
---|
| 66 | }
|
---|
| 67 | }
|
---|
| 68 |
|
---|
| 69 | material GameTools/Luminance
|
---|
| 70 | {
|
---|
| 71 | technique
|
---|
| 72 | {
|
---|
| 73 | pass
|
---|
| 74 | {
|
---|
| 75 | vertex_program_ref GameTools/PostProc1_VS
|
---|
| 76 | {
|
---|
| 77 | }
|
---|
| 78 | fragment_program_ref GameTools/Luminance_PS
|
---|
| 79 | {
|
---|
| 80 | param_named_auto width viewport_width
|
---|
| 81 | param_named_auto height viewport_height
|
---|
| 82 |
|
---|
| 83 | }
|
---|
| 84 | texture_unit
|
---|
| 85 | {
|
---|
| 86 | //filtering none
|
---|
| 87 | texture rockwall.tga
|
---|
| 88 | }
|
---|
| 89 |
|
---|
| 90 | }
|
---|
| 91 | }
|
---|
| 92 | }
|
---|
| 93 |
|
---|
| 94 |
|
---|
| 95 |
|
---|
| 96 | material GameTools/GlowBlurH
|
---|
| 97 | {
|
---|
| 98 | technique
|
---|
| 99 | {
|
---|
| 100 | pass
|
---|
| 101 | {
|
---|
| 102 | vertex_program_ref GameTools/PostProc1_VS
|
---|
| 103 | {
|
---|
| 104 | }
|
---|
| 105 | fragment_program_ref GameTools/GlowBlurH_PS
|
---|
| 106 | {
|
---|
| 107 | param_named_auto width viewport_width
|
---|
| 108 | param_named_auto height viewport_height
|
---|
[1683] | 109 | param_named Stretch float 1.5
|
---|
| 110 | //param_named timeBlur float 0.5
|
---|
[1094] | 111 | }
|
---|
| 112 | texture_unit
|
---|
| 113 | {
|
---|
| 114 | tex_address_mode mirror
|
---|
| 115 | texture rockwall.tga
|
---|
| 116 | }
|
---|
| 117 |
|
---|
| 118 | }
|
---|
| 119 | }
|
---|
| 120 | }
|
---|
| 121 |
|
---|
| 122 | material GameTools/GlowBlurV
|
---|
| 123 | {
|
---|
| 124 | technique
|
---|
| 125 | {
|
---|
| 126 | pass
|
---|
| 127 | {
|
---|
| 128 | vertex_program_ref GameTools/PostProc1_VS
|
---|
| 129 | {
|
---|
| 130 | }
|
---|
| 131 | fragment_program_ref GameTools/GlowBlurV_PS
|
---|
| 132 | {
|
---|
| 133 | param_named_auto width viewport_width
|
---|
| 134 | param_named_auto height viewport_height
|
---|
[1683] | 135 | param_named Stretch float 1.5
|
---|
| 136 | // param_named timeBlur float 0.5
|
---|
| 137 | }
|
---|
| 138 | texture_unit
|
---|
| 139 | {
|
---|
| 140 | tex_address_mode mirror
|
---|
| 141 | texture rockwall.tga
|
---|
| 142 | }
|
---|
| 143 | }
|
---|
| 144 | }
|
---|
| 145 | }
|
---|
| 146 |
|
---|
| 147 | material GameTools/GlowBlurHTB
|
---|
| 148 | {
|
---|
| 149 | technique
|
---|
| 150 | {
|
---|
| 151 | pass
|
---|
| 152 | {
|
---|
| 153 | scene_blend alpha_blend
|
---|
| 154 | vertex_program_ref GameTools/PostProc1_VS
|
---|
| 155 | {
|
---|
| 156 | }
|
---|
| 157 | fragment_program_ref GameTools/GlowBlurH_PS
|
---|
| 158 | {
|
---|
| 159 | param_named_auto width viewport_width
|
---|
| 160 | param_named_auto height viewport_height
|
---|
[1590] | 161 | param_named Stretch float 1.2
|
---|
[1683] | 162 | param_named timeBlur float 0.025
|
---|
[1094] | 163 | }
|
---|
| 164 | texture_unit
|
---|
| 165 | {
|
---|
| 166 | tex_address_mode mirror
|
---|
| 167 | texture rockwall.tga
|
---|
| 168 | }
|
---|
| 169 | }
|
---|
| 170 | }
|
---|
| 171 | }
|
---|
| 172 |
|
---|
| 173 | material GameTools/TextureCopy
|
---|
| 174 | {
|
---|
| 175 | technique
|
---|
| 176 | {
|
---|
| 177 | pass
|
---|
| 178 | {
|
---|
| 179 | vertex_program_ref GameTools/PostProc1_VS
|
---|
| 180 | {
|
---|
| 181 | }
|
---|
| 182 | fragment_program_ref GameTools/TextureCopy_PS
|
---|
| 183 | {
|
---|
| 184 | param_named_auto width viewport_width
|
---|
| 185 | param_named_auto height viewport_height
|
---|
| 186 |
|
---|
| 187 | }
|
---|
| 188 | texture_unit
|
---|
| 189 | {
|
---|
| 190 | // filtering none
|
---|
| 191 | texture rockwall.tga
|
---|
| 192 | }
|
---|
| 193 | }
|
---|
| 194 | }
|
---|
| 195 | }
|
---|
| 196 |
|
---|
| 197 | material GameTools/GlowAdd
|
---|
| 198 | {
|
---|
| 199 | technique
|
---|
| 200 | {
|
---|
| 201 | pass
|
---|
| 202 | {
|
---|
| 203 | vertex_program_ref GameTools/PostProc1_VS
|
---|
| 204 | {
|
---|
| 205 | }
|
---|
| 206 | fragment_program_ref GameTools/GlowAdd_PS
|
---|
| 207 | {
|
---|
| 208 | param_named_auto width viewport_width
|
---|
| 209 | param_named_auto height viewport_height
|
---|
| 210 |
|
---|
| 211 | }
|
---|
| 212 | texture_unit
|
---|
| 213 | {
|
---|
| 214 | // filtering none
|
---|
| 215 | texture rockwall.tga
|
---|
| 216 | }
|
---|
| 217 | texture_unit
|
---|
| 218 | {
|
---|
| 219 | // filtering none
|
---|
| 220 | texture rockwall.tga
|
---|
| 221 | }
|
---|
| 222 | }
|
---|
| 223 | }
|
---|
| 224 | }
|
---|
| 225 |
|
---|
| 226 | material GameTools/ToneMap
|
---|
| 227 | {
|
---|
| 228 | technique
|
---|
| 229 | {
|
---|
| 230 | pass
|
---|
| 231 | {
|
---|
| 232 | vertex_program_ref GameTools/PostProc1_VS
|
---|
| 233 | {
|
---|
| 234 | }
|
---|
| 235 | fragment_program_ref GameTools/ToneMap_PS
|
---|
| 236 | {
|
---|
| 237 | param_named_auto width viewport_width
|
---|
| 238 | param_named_auto height viewport_height
|
---|
| 239 | param_named Gain float 0.5
|
---|
| 240 | }
|
---|
| 241 | texture_unit
|
---|
| 242 | {
|
---|
| 243 | // filtering none
|
---|
| 244 | texture rockwall.tga
|
---|
| 245 | }
|
---|
| 246 | texture_unit
|
---|
| 247 | {
|
---|
| 248 | // filtering none
|
---|
| 249 | texture rockwall.tga
|
---|
| 250 | }
|
---|
| 251 | texture_unit
|
---|
| 252 | {
|
---|
| 253 | // filtering none
|
---|
| 254 | texture rockwall.tga
|
---|
| 255 | }
|
---|
[1683] | 256 | texture_unit
|
---|
| 257 | {
|
---|
| 258 | // filtering none
|
---|
| 259 | texture rockwall.tga
|
---|
| 260 | }
|
---|
[1094] | 261 | }
|
---|
| 262 | }
|
---|
| 263 | } |
---|