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 | {
|
---|
45 | vertex_program_ref GameTools/PostProc1_VS
|
---|
46 | {
|
---|
47 | }
|
---|
48 | fragment_program_ref GameTools/GlowCut_PS
|
---|
49 | {
|
---|
50 | param_named_auto width viewport_width
|
---|
51 | param_named_auto height viewport_height
|
---|
52 | //param_named cutValue float 10.0
|
---|
53 | param_named cutValue float 10.0
|
---|
54 | param_named timeBlur float 0.4
|
---|
55 |
|
---|
56 | }
|
---|
57 | texture_unit
|
---|
58 | {
|
---|
59 | //filtering none
|
---|
60 | }
|
---|
61 | texture_unit
|
---|
62 | {
|
---|
63 | //filtering none
|
---|
64 | }
|
---|
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
|
---|
109 | param_named Stretch float 1.2
|
---|
110 | }
|
---|
111 | texture_unit
|
---|
112 | {
|
---|
113 | tex_address_mode mirror
|
---|
114 | texture rockwall.tga
|
---|
115 | }
|
---|
116 |
|
---|
117 | }
|
---|
118 | }
|
---|
119 | }
|
---|
120 |
|
---|
121 | material GameTools/GlowBlurV
|
---|
122 | {
|
---|
123 | technique
|
---|
124 | {
|
---|
125 | pass
|
---|
126 | {
|
---|
127 | vertex_program_ref GameTools/PostProc1_VS
|
---|
128 | {
|
---|
129 | }
|
---|
130 | fragment_program_ref GameTools/GlowBlurV_PS
|
---|
131 | {
|
---|
132 | param_named_auto width viewport_width
|
---|
133 | param_named_auto height viewport_height
|
---|
134 | param_named Stretch float 1.2
|
---|
135 | }
|
---|
136 | texture_unit
|
---|
137 | {
|
---|
138 | tex_address_mode mirror
|
---|
139 | texture rockwall.tga
|
---|
140 | }
|
---|
141 | }
|
---|
142 | }
|
---|
143 | }
|
---|
144 |
|
---|
145 | material GameTools/TextureCopy
|
---|
146 | {
|
---|
147 | technique
|
---|
148 | {
|
---|
149 | pass
|
---|
150 | {
|
---|
151 | vertex_program_ref GameTools/PostProc1_VS
|
---|
152 | {
|
---|
153 | }
|
---|
154 | fragment_program_ref GameTools/TextureCopy_PS
|
---|
155 | {
|
---|
156 | param_named_auto width viewport_width
|
---|
157 | param_named_auto height viewport_height
|
---|
158 |
|
---|
159 | }
|
---|
160 | texture_unit
|
---|
161 | {
|
---|
162 | // filtering none
|
---|
163 | texture rockwall.tga
|
---|
164 | }
|
---|
165 | }
|
---|
166 | }
|
---|
167 | }
|
---|
168 |
|
---|
169 | material GameTools/GlowAdd
|
---|
170 | {
|
---|
171 | technique
|
---|
172 | {
|
---|
173 | pass
|
---|
174 | {
|
---|
175 | vertex_program_ref GameTools/PostProc1_VS
|
---|
176 | {
|
---|
177 | }
|
---|
178 | fragment_program_ref GameTools/GlowAdd_PS
|
---|
179 | {
|
---|
180 | param_named_auto width viewport_width
|
---|
181 | param_named_auto height viewport_height
|
---|
182 |
|
---|
183 | }
|
---|
184 | texture_unit
|
---|
185 | {
|
---|
186 | // filtering none
|
---|
187 | texture rockwall.tga
|
---|
188 | }
|
---|
189 | texture_unit
|
---|
190 | {
|
---|
191 | // filtering none
|
---|
192 | texture rockwall.tga
|
---|
193 | }
|
---|
194 | }
|
---|
195 | }
|
---|
196 | }
|
---|
197 |
|
---|
198 | material GameTools/ToneMap
|
---|
199 | {
|
---|
200 | technique
|
---|
201 | {
|
---|
202 | pass
|
---|
203 | {
|
---|
204 | vertex_program_ref GameTools/PostProc1_VS
|
---|
205 | {
|
---|
206 | }
|
---|
207 | fragment_program_ref GameTools/ToneMap_PS
|
---|
208 | {
|
---|
209 | param_named_auto width viewport_width
|
---|
210 | param_named_auto height viewport_height
|
---|
211 | param_named Gain float 0.5
|
---|
212 | }
|
---|
213 | texture_unit
|
---|
214 | {
|
---|
215 | // filtering none
|
---|
216 | texture rockwall.tga
|
---|
217 | }
|
---|
218 | texture_unit
|
---|
219 | {
|
---|
220 | // filtering none
|
---|
221 | texture rockwall.tga
|
---|
222 | }
|
---|
223 | texture_unit
|
---|
224 | {
|
---|
225 | // filtering none
|
---|
226 | texture rockwall.tga
|
---|
227 | }
|
---|
228 | }
|
---|
229 | }
|
---|
230 | } |
---|