Debian Codegraph @

Effects/chute.eff

raw
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <PropertyList>
4 <name>Effects/chute</name>
5 <inherits-from>Effects/model-default</inherits-from>
6 <parameters>
7 <chute_force>1.0</chute_force>
8 <chute_projection_z>0.0</chute_projection_z>
9 <chute_fold>0.0</chute_fold>
10 <chute_bend>0.0</chute_bend>
11 <!-- END fog include -->
12 </parameters>
13
14 <technique n="4">
15 <predicate>
16 <and>
17 <property>/sim/rendering/shaders/skydome</property>
18 <or>
19 <less-equal>
20 <value type="float">2.0</value>
21 <glversion/>
22 </less-equal>
23 <and>
24 <extension-supported>GL_ARB_shader_objects</extension-supported>
25 <extension-supported>GL_ARB_shading_language_100</extension-supported>
26 <extension-supported>GL_ARB_vertex_shader</extension-supported>
27 <extension-supported>GL_ARB_fragment_shader</extension-supported>
28 </and>
29 </or>
30 </and>
31 </predicate>
32 <pass>
33 <lighting>true</lighting>
34 <material>
35 <active><use>material/active</use></active>
36 <ambient><use>material/ambient</use></ambient>
37 <diffuse><use>material/diffuse</use></diffuse>
38 <specular><use>material/specular</use></specular>
39 <emissive><use>material/emissive</use></emissive>
40 <shininess><use>material/shininess</use></shininess>
41 <color-mode><use>material/color-mode</use></color-mode>
42 </material>
43 <blend>
44 <active><use>blend/active</use></active>
45 <source><use>blend/source</use></source>
46 <destination><use>blend/destination</use></destination>
47 </blend>
48 <shade-model><use>shade-model</use></shade-model>
49 <cull-face><use>cull-face</use></cull-face>
50 <render-bin>
51 <bin-number>10</bin-number>
52 <bin-name>DepthSortedBin</bin-name>
53 </render-bin>
54 <rendering-hint><use>rendering-hint</use></rendering-hint>
55 <texture-unit>
56 <!-- The texture unit is always active because the shaders expect
57 that. -->
58 <unit>0</unit>
59 <!-- If there is a texture, the type in the derived effect
60 will be "2d". -->
61 <type><use>texture[0]/type</use></type>
62 <image><use>texture[0]/image</use></image>
63 <filter><use>texture[0]/filter</use></filter>
64 <wrap-s><use>texture[0]/wrap-s</use></wrap-s>
65 <wrap-t><use>texture[0]/wrap-t</use></wrap-t>
66 <!--
67 <internal-format>
68 <use>texture[0]/internal-format</use>
69 </internal-format>
70 -->
71 </texture-unit>
72 <vertex-program-two-side>
73 <use>vertex-program-two-side</use>
74 </vertex-program-two-side>
75 <program>
76 <vertex-shader>Shaders/chute-ALS.vert</vertex-shader>
77 <vertex-shader>Shaders/shadows-include.vert</vertex-shader>
78 <fragment-shader>Shaders/model-ALS-base.frag</fragment-shader>
79 <fragment-shader>Shaders/hazes.frag</fragment-shader>
80 <fragment-shader>Shaders/secondary_lights.frag</fragment-shader>
81 <fragment-shader>Shaders/noise.frag</fragment-shader>
82 <fragment-shader>Shaders/filters-ALS.frag</fragment-shader>
83 <fragment-shader>Shaders/shadows-include.frag</fragment-shader>
84 <fragment-shader>Shaders/clustered-include.frag</fragment-shader>
85 </program>
86 <uniform>
87 <name>visibility</name>
88 <type>float</type>
89 <value><use>visibility</use></value>
90 </uniform>
91 <uniform>
92 <name>avisibility</name>
93 <type>float</type>
94 <value><use>avisibility</use></value>
95 </uniform>
96 <uniform>
97 <name>hazeLayerAltitude</name>
98 <type>float</type>
99 <value><use>lthickness</use></value>
100 </uniform>
101 <uniform>
102 <name>scattering</name>
103 <type>float</type>
104 <value><use>scattering</use></value>
105 </uniform>
106 <uniform>
107 <name>terminator</name>
108 <type>float</type>
109 <value><use>terminator</use></value>
110 </uniform>
111 <uniform>
112 <name>ground_scattering</name>
113 <type>float</type>
114 <value><use>ground_scattering</use></value>
115 </uniform>
116 <uniform>
117 <name>terminator</name>
118 <type>float</type>
119 <value><use>terminator</use></value>
120 </uniform>
121 <uniform>
122 <name>terrain_alt</name>
123 <type>float</type>
124 <value><use>terrain_alt</use></value>
125 </uniform>
126 <uniform>
127 <name>overcast</name>
128 <type>float</type>
129 <value><use>overcast</use></value>
130 </uniform>
131 <uniform>
132 <name>eye_alt</name>
133 <type>float</type>
134 <value><use>eye_alt</use></value>
135 </uniform>
136 <uniform>
137 <name>cloud_self_shading</name>
138 <type>float</type>
139 <value><use>cloud_self_shading</use></value>
140 </uniform>
141 <uniform>
142 <name>moonlight</name>
143 <type>float</type>
144 <value><use>moonlight</use></value>
145 </uniform>
146 <uniform>
147 <name>air_pollution</name>
148 <type>float</type>
149 <value><use>air_pollution</use></value>
150 </uniform>
151 <uniform>
152 <name>chute_force</name>
153 <type>float</type>
154 <value><use>chute_force</use></value>
155 </uniform>
156 <uniform>
157 <name>chute_fold</name>
158 <type>float</type>
159 <value><use>chute_fold</use></value>
160 </uniform>
161 <uniform>
162 <name>chute_bend</name>
163 <type>float</type>
164 <value><use>chute_bend</use></value>
165 </uniform>
166 <uniform>
167 <name>chute_projection_z</name>
168 <type>float</type>
169 <value><use>chute_projection_z</use></value>
170 </uniform>
171 <uniform>
172 <name>gamma</name>
173 <type>float</type>
174 <value><use>gamma</use></value>
175 </uniform>
176 <uniform>
177 <name>brightness</name>
178 <type>float</type>
179 <value><use>brightness</use></value>
180 </uniform>
181 <uniform>
182 <name>use_filtering</name>
183 <type>bool</type>
184 <value><use>use_filtering</use></value>
185 </uniform>
186 <uniform>
187 <name>use_night_vision</name>
188 <type>bool</type>
189 <value><use>use_night_vision</use></value>
190 </uniform>
191 <uniform>
192 <name>use_IR_vision</name>
193 <type>bool</type>
194 <value><use>use_IR_vision</use></value>
195 </uniform>
196 <uniform>
197 <name>delta_T</name>
198 <type>float</type>
199 <value><use>delta_T</use></value>
200 </uniform>
201 <uniform>
202 <name>fact_grey</name>
203 <type>float</type>
204 <value><use>fact_grey</use></value>
205 </uniform>
206 <uniform>
207 <name>fact_black</name>
208 <type>float</type>
209 <value><use>fact_black</use></value>
210 </uniform>
211 <uniform>
212 <name>view_pitch_offset</name>
213 <type>float</type>
214 <value><use>view_pitch_offset</use></value>
215 </uniform>
216 <uniform>
217 <name>view_heading_offset</name>
218 <type>float</type>
219 <value><use>view_heading_offset</use></value>
220 </uniform>
221 <uniform>
222 <name>field_of_view</name>
223 <type>float</type>
224 <value><use>view_fov</use></value>
225 </uniform>
226 <uniform>
227 <name>landing_light1_offset</name>
228 <type>float</type>
229 <value><use>landing_light1_offset</use></value>
230 </uniform>
231 <uniform>
232 <name>landing_light2_offset</name>
233 <type>float</type>
234 <value><use>landing_light2_offset</use></value>
235 </uniform>
236 <uniform>
237 <name>landing_light3_offset</name>
238 <type>float</type>
239 <value><use>landing_light3_offset</use></value>
240 </uniform>
241 <uniform>
242 <name>geo_light_r</name>
243 <type>float</type>
244 <value><use>geo_light_r</use></value>
245 </uniform>
246 <uniform>
247 <name>geo_light_g</name>
248 <type>float</type>
249 <value><use>geo_light_g</use></value>
250 </uniform>
251 <uniform>
252 <name>geo_light_b</name>
253 <type>float</type>
254 <value><use>geo_light_b</use></value>
255 </uniform>
256 <uniform>
257 <name>geo_light_x</name>
258 <type>float</type>
259 <value><use>geo_light_x</use></value>
260 </uniform>
261 <uniform>
262 <name>geo_light_y</name>
263 <type>float</type>
264 <value><use>geo_light_y</use></value>
265 </uniform>
266 <uniform>
267 <name>geo_light_z</name>
268 <type>float</type>
269 <value><use>geo_light_z</use></value>
270 </uniform>
271 <uniform>
272 <name>geo_light_radius</name>
273 <type>float</type>
274 <value><use>geo_light_radius</use></value>
275 </uniform>
276 <uniform>
277 <name>geo_ambience</name>
278 <type>float</type>
279 <value><use>geo_ambience</use></value>
280 </uniform>
281 <uniform>
282 <name>texture</name>
283 <type>sampler-2d</type>
284 <value type="int">0</value>
285 </uniform>
286 <uniform>
287 <name>colorMode</name>
288 <type>int</type>
289 <value><use>material/color-mode-uniform</use></value>
290 </uniform>
291 <uniform>
292 <name>use_searchlight</name>
293 <type>int</type>
294 <value> <use>use_searchlight</use></value>
295 </uniform>
296 <uniform>
297 <name>use_landing_light</name>
298 <type>int</type>
299 <value> <use>use_landing_light</use></value>
300 </uniform>
301 <uniform>
302 <name>use_alt_landing_light</name>
303 <type>int</type>
304 <value> <use>use_alt_landing_light</use></value>
305 </uniform>
306 <uniform>
307 <name>use_geo_light</name>
308 <type>int</type>
309 <value> <use>use_geo_light</use></value>
310 </uniform>
311 <uniform>
312 <name>display_xsize</name>
313 <type>int</type>
314 <value><use>display_xsize</use></value>
315 </uniform>
316 <uniform>
317 <name>display_ysize</name>
318 <type>int</type>
319 <value><use>display_ysize</use></value>
320 </uniform>
321 <uniform>
322 <name>quality_level</name>
323 <type>int</type>
324 <value><use>quality_level</use></value>
325 </uniform>
326 <uniform>
327 <name>tquality_level</name>
328 <type>int</type>
329 <value><use>tquality_level</use></value>
330 </uniform>
331 <!-- BEGIN shadows include -->
332 <uniform>
333 <name>shadow_tex</name>
334 <type>sampler-2d</type>
335 <value type="int">10</value>
336 </uniform>
337 <uniform>
338 <name>shadows_enabled</name>
339 <type>bool</type>
340 <value>
341 <use>shadows_enabled</use>
342 </value>
343 </uniform>
344 <uniform>
345 <name>sun_atlas_size</name>
346 <type>int</type>
347 <value>
348 <use>sun_atlas_size</use>
349 </value>
350 </uniform>
351 <!-- END shadows include -->
352 </pass>
353 </technique>
354
355
356 </PropertyList>