1 | material GTP/PostProc/Black
|
---|
2 | {
|
---|
3 | technique
|
---|
4 | {
|
---|
5 | pass
|
---|
6 | {
|
---|
7 | vertex_program_ref GTP/PostProc/PostProc_VS
|
---|
8 | {
|
---|
9 |
|
---|
10 | }
|
---|
11 | fragment_program_ref GTP/PostProc/PostProc_Black_PS
|
---|
12 | {
|
---|
13 |
|
---|
14 | }
|
---|
15 | }
|
---|
16 | }
|
---|
17 | }
|
---|
18 |
|
---|
19 | material GTP/PostProc/Copy
|
---|
20 | {
|
---|
21 | technique
|
---|
22 | {
|
---|
23 | pass
|
---|
24 | {
|
---|
25 | vertex_program_ref GTP/PostProc/PostProc_VS
|
---|
26 | {
|
---|
27 |
|
---|
28 | }
|
---|
29 | fragment_program_ref GTP/PostProc/Copy_PS
|
---|
30 | {
|
---|
31 | param_named_auto width viewport_width
|
---|
32 | param_named_auto height viewport_height
|
---|
33 |
|
---|
34 | }
|
---|
35 | texture_unit
|
---|
36 | {
|
---|
37 | // filtering none
|
---|
38 | }
|
---|
39 | }
|
---|
40 | }
|
---|
41 | }
|
---|
42 |
|
---|
43 | material GTP/PostProc/Blend
|
---|
44 | {
|
---|
45 | technique
|
---|
46 | {
|
---|
47 | pass
|
---|
48 | {
|
---|
49 | scene_blend alpha_blend
|
---|
50 | depth_check off
|
---|
51 | vertex_program_ref GTP/PostProc/PostProc_VS
|
---|
52 | {
|
---|
53 |
|
---|
54 | }
|
---|
55 | fragment_program_ref GTP/PostProc/AlphaBlend_PS
|
---|
56 | {
|
---|
57 | param_named_auto width viewport_width
|
---|
58 | param_named_auto height viewport_height
|
---|
59 | param_named_auto alpha frame_time 1.0
|
---|
60 |
|
---|
61 | }
|
---|
62 | texture_unit
|
---|
63 | {
|
---|
64 | // filtering none
|
---|
65 | }
|
---|
66 | }
|
---|
67 | }
|
---|
68 | }
|
---|
69 |
|
---|
70 | material GTP/PostProc/Add
|
---|
71 | {
|
---|
72 | technique
|
---|
73 | {
|
---|
74 | pass
|
---|
75 | {
|
---|
76 | vertex_program_ref GTP/PostProc/PostProc_VS
|
---|
77 | {
|
---|
78 |
|
---|
79 | }
|
---|
80 | fragment_program_ref GTP/PostProc/Add_PS
|
---|
81 | {
|
---|
82 | param_named_auto width viewport_width
|
---|
83 | param_named_auto height viewport_height
|
---|
84 | }
|
---|
85 | texture_unit
|
---|
86 | {
|
---|
87 | // filtering none
|
---|
88 | }
|
---|
89 | texture_unit
|
---|
90 | {
|
---|
91 | // filtering none
|
---|
92 | }
|
---|
93 | }
|
---|
94 | }
|
---|
95 | }
|
---|
96 |
|
---|
97 | material GTP/PostProc/Combine
|
---|
98 | {
|
---|
99 | technique maintechnique
|
---|
100 | {
|
---|
101 | pass mainpass
|
---|
102 | {
|
---|
103 | vertex_program_ref GTP/PostProc/PostProc_VS
|
---|
104 | {
|
---|
105 |
|
---|
106 | }
|
---|
107 | fragment_program_ref GTP/PostProc/Combine_PS
|
---|
108 | {
|
---|
109 | param_named_auto width viewport_width
|
---|
110 | param_named_auto height viewport_height
|
---|
111 | param_named weight1 float 1.0
|
---|
112 | param_named weight2 float 1.0
|
---|
113 | }
|
---|
114 | texture_unit
|
---|
115 | {
|
---|
116 | // filtering none
|
---|
117 | }
|
---|
118 | texture_unit
|
---|
119 | {
|
---|
120 | // filtering none
|
---|
121 | }
|
---|
122 | }
|
---|
123 | }
|
---|
124 | }
|
---|
125 |
|
---|
126 | material GTP/PostProc/Luminance
|
---|
127 | {
|
---|
128 | technique
|
---|
129 | {
|
---|
130 | pass
|
---|
131 | {
|
---|
132 | vertex_program_ref GTP/PostProc/PostProc_VS
|
---|
133 | {
|
---|
134 |
|
---|
135 | }
|
---|
136 | fragment_program_ref GTP/PostProc/Luminance_PS
|
---|
137 | {
|
---|
138 | param_named_auto width viewport_width
|
---|
139 | param_named_auto height viewport_height
|
---|
140 | }
|
---|
141 |
|
---|
142 | texture_unit
|
---|
143 | {
|
---|
144 | //filtering none
|
---|
145 | }
|
---|
146 |
|
---|
147 | }
|
---|
148 | }
|
---|
149 | }
|
---|
150 |
|
---|
151 | material GTP/PostProc/GlowCut
|
---|
152 | {
|
---|
153 | technique maintechnique
|
---|
154 | {
|
---|
155 | pass mainpass
|
---|
156 | {
|
---|
157 | vertex_program_ref GTP/PostProc/PostProc_VS
|
---|
158 | {
|
---|
159 | }
|
---|
160 | fragment_program_ref GTP/PostProc/GlowCut_PS
|
---|
161 | {
|
---|
162 | param_named_auto width viewport_width
|
---|
163 | param_named_auto height viewport_height
|
---|
164 | param_named cutValue float 35
|
---|
165 | //param_named cutValue float 4.5
|
---|
166 | param_named timeBlur float 0.4
|
---|
167 | }
|
---|
168 | texture_unit
|
---|
169 | {
|
---|
170 | //filtering none
|
---|
171 | }
|
---|
172 | texture_unit
|
---|
173 | {
|
---|
174 | //filtering none
|
---|
175 | }
|
---|
176 | }
|
---|
177 | }
|
---|
178 | }
|
---|
179 |
|
---|
180 | material GTP/PostProc/GlowBlurH
|
---|
181 | {
|
---|
182 | technique maintechnique
|
---|
183 | {
|
---|
184 | pass mainpass
|
---|
185 | {
|
---|
186 | vertex_program_ref GTP/PostProc/PostProc_VS
|
---|
187 | {
|
---|
188 |
|
---|
189 | }
|
---|
190 | fragment_program_ref GTP/PostProc/GlowBlurH_PS
|
---|
191 | {
|
---|
192 | param_named_auto width viewport_width
|
---|
193 | param_named_auto height viewport_height
|
---|
194 | param_named Stretch float 1.3
|
---|
195 | }
|
---|
196 |
|
---|
197 | texture_unit
|
---|
198 | {
|
---|
199 | tex_address_mode mirror
|
---|
200 | }
|
---|
201 | }
|
---|
202 | }
|
---|
203 | }
|
---|
204 |
|
---|
205 | material GTP/PostProc/GlowBlurV
|
---|
206 | {
|
---|
207 | technique maintechnique
|
---|
208 | {
|
---|
209 | pass mainpass
|
---|
210 | {
|
---|
211 | vertex_program_ref GTP/PostProc/PostProc_VS
|
---|
212 | {
|
---|
213 |
|
---|
214 | }
|
---|
215 | fragment_program_ref GTP/PostProc/GlowBlurV_PS
|
---|
216 | {
|
---|
217 | param_named_auto width viewport_width
|
---|
218 | param_named_auto height viewport_height
|
---|
219 | param_named Stretch float 1.3
|
---|
220 | }
|
---|
221 | texture_unit
|
---|
222 | {
|
---|
223 | tex_address_mode mirror
|
---|
224 |
|
---|
225 | }
|
---|
226 | }
|
---|
227 | }
|
---|
228 | }
|
---|
229 |
|
---|
230 | material GTP/PostProc/GlowBlurH_TB
|
---|
231 | {
|
---|
232 | technique
|
---|
233 | {
|
---|
234 | pass
|
---|
235 | {
|
---|
236 | scene_blend alpha_blend
|
---|
237 | depth_write off
|
---|
238 | depth_check off
|
---|
239 | vertex_program_ref GTP/PostProc/PostProc_VS
|
---|
240 | {
|
---|
241 | }
|
---|
242 | fragment_program_ref GTP/PostProc/GlowBlurH_PS
|
---|
243 | {
|
---|
244 | param_named_auto width viewport_width
|
---|
245 | param_named_auto height viewport_height
|
---|
246 | param_named Stretch float 1.2
|
---|
247 | param_named_auto timeBlur frame_time 0.6
|
---|
248 | //param_named timeBlur float 1
|
---|
249 | }
|
---|
250 | texture_unit
|
---|
251 | {
|
---|
252 | tex_address_mode mirror
|
---|
253 | }
|
---|
254 | }
|
---|
255 | }
|
---|
256 | }
|
---|
257 |
|
---|
258 | material GTP/PostProc/ToneMap
|
---|
259 | {
|
---|
260 | technique
|
---|
261 | {
|
---|
262 | pass
|
---|
263 | {
|
---|
264 | vertex_program_ref GTP/PostProc/PostProc_VS
|
---|
265 | {
|
---|
266 |
|
---|
267 | }
|
---|
268 | fragment_program_ref GTP/PostProc/ToneMap_PS
|
---|
269 | {
|
---|
270 | param_named_auto width viewport_width
|
---|
271 | param_named_auto height viewport_height
|
---|
272 | param_named Gain float 0.5
|
---|
273 | }
|
---|
274 |
|
---|
275 | texture_unit
|
---|
276 | {
|
---|
277 | // filtering none
|
---|
278 | }
|
---|
279 | texture_unit
|
---|
280 | {
|
---|
281 | // filtering none
|
---|
282 | }
|
---|
283 | texture_unit
|
---|
284 | {
|
---|
285 | // filtering none
|
---|
286 | }
|
---|
287 | texture_unit
|
---|
288 | {
|
---|
289 | // filtering none
|
---|
290 | }
|
---|
291 | }
|
---|
292 | }
|
---|
293 | } |
---|