Debian Codegraph @

Effects/skydome.eff

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <PropertyList>
3 <name>Effects/skydome</name>
4 <parameters>
5 <mie><use>/sim/rendering/mie</use></mie>
6 <rayleigh><use>/sim/rendering/rayleigh</use></rayleigh>
7 <density><use>/sim/rendering/dome-density</use></density>
8 <overcast><use>/rendering/scene/overcast</use></overcast>
9 <saturation><use>/rendering/scene/saturation</use></saturation>
10 <scattering><use>/rendering/scene/scattering</use></scattering>
11 <visibility><use>/environment/ground-visibility-m</use></visibility>
12 <avisibility><use>/environment/visibility-m</use></avisibility>
13 <ice_hex_col><use>/environment/scattering-phenomena/ice-hexagonal-column-factor</use></ice_hex_col>
14 <ice_hex_sheet><use>/environment/scattering-phenomena/ice-hexagonal-sheet-factor</use></ice_hex_sheet>
15 <parhelic><use>/environment/scattering-phenomena/parhelic-factor</use></parhelic>
16 <ring><use>/environment/scattering-phenomena/ring-factor</use></ring>
17 <aurora_strength><use>/environment/aurora/strength</use></aurora_strength>
18 <aurora_vsize><use>/environment/aurora/vsize</use></aurora_vsize>
19 <aurora_hsize><use>/environment/aurora/hsize</use></aurora_hsize>
20 <aurora_ray_factor><use>/environment/aurora/ray-factor</use></aurora_ray_factor>
21 <aurora_penetration_factor><use>/environment/aurora/penetration-factor</use></aurora_penetration_factor>
22 <lthickness><use>/environment/ground-haze-thickness-m</use></lthickness>
23 <terminator><use>/environment/terminator-relative-position-m</use></terminator>
24 <terrain_alt><use>/environment/mean-terrain-elevation-m</use></terrain_alt>
25 <cloud_self_shading><use>/environment/cloud-self-shading</use></cloud_self_shading>
26 <horizon_roughness><use>/local-weather/config/small-scale-persistence</use></horizon_roughness>
27 <display_xsize><use>/sim/startup/xsize</use></display_xsize>
28 <display_ysize><use>/sim/startup/ysize</use></display_ysize>
29 <view_pitch_offset><use>/sim/current-view/pitch-offset-deg</use></view_pitch_offset>
30 <view_heading_offset><use>/sim/current-view/heading-offset-deg</use></view_heading_offset>
31 <view_fov><use>/sim/current-view/field-of-view</use></view_fov>
32 <use_searchlight><use>/sim/rendering/als-secondary-lights/use-searchlight</use></use_searchlight>
33 <use_landing_light><use>/sim/rendering/als-secondary-lights/use-landing-light</use></use_landing_light>
34 <use_alt_landing_light><use>/sim/rendering/als-secondary-lights/use-alt-landing-light</use></use_alt_landing_light>
35 <landing_light1_offset><use>/sim/rendering/als-secondary-lights/landing-light1-offset-deg</use></landing_light1_offset>
36 <landing_light2_offset><use>/sim/rendering/als-secondary-lights/landing-light2-offset-deg</use></landing_light2_offset>
37 <landing_light3_offset><use>/sim/rendering/als-secondary-lights/landing-light3-offset-deg</use></landing_light3_offset>
38 <use_filtering><use>/sim/rendering/als-filters/use-filtering</use></use_filtering>
39 <gamma><use>/sim/rendering/als-filters/gamma</use></gamma>
40 <brightness><use>/sim/rendering/als-filters/brightness</use></brightness>
41 <use_night_vision><use>/sim/rendering/als-filters/use-night-vision</use></use_night_vision>
42 <use_IR_vision><use>/sim/rendering/als-filters/use-IR-vision</use></use_IR_vision>
43 <fact_grey><use>/sim/rendering/als-filters/grey-factor</use></fact_grey>
44 <fact_black><use>/sim/rendering/als-filters/black-factor</use></fact_black>
45 <delta_T>-50.0</delta_T>
46 <air_pollution><use>/environment/air-pollution-norm</use></air_pollution>
47 </parameters>
48 <technique n="8">
49 <predicate>
50 <and>
51 <property>/sim/rendering/shaders/skydome</property>
52 <or>
53 <less-equal>
54 <value type="float">2.0</value>
55 <glversion/>
56 </less-equal>
57 <and>
58 <extension-supported>GL_ARB_shader_objects</extension-supported>
59 <extension-supported>GL_ARB_shading_language_100</extension-supported>
60 <extension-supported>GL_ARB_vertex_shader</extension-supported>
61 <extension-supported>GL_ARB_fragment_shader</extension-supported>
62 </and>
63 </or>
64 </and>
65 </predicate>
66
67 <pass>
68 <lighting>true</lighting>
69 <shade-model>smooth</shade-model>
70 <cull-face>back</cull-face>
71 <program>
72 <vertex-shader>Shaders/skydome-ALS.vert</vertex-shader>
73 <fragment-shader>Shaders/skydome-ALS.frag</fragment-shader>
74 <fragment-shader>Shaders/noise.frag</fragment-shader>
75 <fragment-shader>Shaders/secondary_lights.frag</fragment-shader>
76 <fragment-shader>Shaders/filters-ALS.frag</fragment-shader>
77 </program>
78 <uniform>
79 <name>mK</name>
80 <type>float</type>
81 <value><use>mie</use></value>
82 </uniform>
83 <uniform>
84 <name>rK</name>
85 <type>float</type>
86 <value><use>rayleigh</use></value>
87 </uniform>
88 <uniform>
89 <name>density</name>
90 <type>float</type>
91 <value><use>density</use></value>
92 </uniform>
93 <uniform>
94 <name>overcast</name>
95 <type>float</type>
96 <value><use>overcast</use></value>
97 </uniform>
98 <uniform>
99 <name>saturation</name>
100 <type>float</type>
101 <value><use>saturation</use></value>
102 </uniform>
103 <uniform>
104 <name>scattering</name>
105 <type>float</type>
106 <value><use>scattering</use></value>
107 </uniform>
108 <uniform>
109 <name>visibility</name>
110 <type>float</type>
111 <value><use>visibility</use></value>
112 </uniform>
113 <uniform>
114 <name>hazeLayerAltitude</name>
115 <type>float</type>
116 <value><use>lthickness</use></value>
117 </uniform>
118 <uniform>
119 <name>terminator</name>
120 <type>float</type>
121 <value><use>terminator</use></value>
122 </uniform>
123 <uniform>
124 <name>avisibility</name>
125 <type>float</type>
126 <value><use>avisibility</use></value>
127 </uniform>
128 <uniform>
129 <name>terrain_alt</name>
130 <type>float</type>
131 <value><use>terrain_alt</use></value>
132 </uniform>
133 <uniform>
134 <name>cloud_self_shading</name>
135 <type>float</type>
136 <value><use>cloud_self_shading</use></value>
137 </uniform>
138 <uniform>
139 <name>air_pollution</name>
140 <type>float</type>
141 <value><use>air_pollution</use></value>
142 </uniform>
143 <uniform>
144 <name>ice_hex_col</name>
145 <type>float</type>
146 <value><use>ice_hex_col</use></value>
147 </uniform>
148 <uniform>
149 <name>parhelic</name>
150 <type>float</type>
151 <value><use>parhelic</use></value>
152 </uniform>
153 <uniform>
154 <name>ring</name>
155 <type>float</type>
156 <value><use>ring</use></value>
157 </uniform>
158 <uniform>
159 <name>ice_hex_sheet</name>
160 <type>float</type>
161 <value><use>ice_hex_sheet</use></value>
162 </uniform>
163 <uniform>
164 <name>aurora_strength</name>
165 <type>float</type>
166 <value><use>aurora_strength</use></value>
167 </uniform>
168 <uniform>
169 <name>aurora_vsize</name>
170 <type>float</type>
171 <value><use>aurora_vsize</use></value>
172 </uniform>
173 <uniform>
174 <name>aurora_hsize</name>
175 <type>float</type>
176 <value><use>aurora_hsize</use></value>
177 </uniform>
178 <uniform>
179 <name>aurora_ray_factor</name>
180 <type>float</type>
181 <value><use>aurora_ray_factor</use></value>
182 </uniform>
183 <uniform>
184 <name>aurora_penetration_factor</name>
185 <type>float</type>
186 <value><use>aurora_penetration_factor</use></value>
187 </uniform>
188 <uniform>
189 <name>horizon_roughness</name>
190 <type>float</type>
191 <value><use>horizon_roughness</use></value>
192 </uniform>
193 <uniform>
194 <name>gamma</name>
195 <type>float</type>
196 <value><use>gamma</use></value>
197 </uniform>
198 <uniform>
199 <name>brightness</name>
200 <type>float</type>
201 <value><use>brightness</use></value>
202 </uniform>
203 <uniform>
204 <name>delta_T</name>
205 <type>float</type>
206 <value><use>delta_T</use></value>
207 </uniform>
208 <uniform>
209 <name>fact_grey</name>
210 <type>float</type>
211 <value><use>fact_grey</use></value>
212 </uniform>
213 <uniform>
214 <name>fact_black</name>
215 <type>float</type>
216 <value><use>fact_black</use></value>
217 </uniform>
218 <uniform>
219 <name>use_filtering</name>
220 <type>bool</type>
221 <value><use>use_filtering</use></value>
222 </uniform>
223 <uniform>
224 <name>use_night_vision</name>
225 <type>bool</type>
226 <value><use>use_night_vision</use></value>
227 </uniform>
228 <uniform>
229 <name>use_IR_vision</name>
230 <type>bool</type>
231 <value><use>use_IR_vision</use></value>
232 </uniform>
233 <uniform>
234 <name>view_pitch_offset</name>
235 <type>float</type>
236 <value><use>view_pitch_offset</use></value>
237 </uniform>
238 <uniform>
239 <name>view_heading_offset</name>
240 <type>float</type>
241 <value><use>view_heading_offset</use></value>
242 </uniform>
243 <uniform>
244 <name>field_of_view</name>
245 <type>float</type>
246 <value><use>view_fov</use></value>
247 </uniform>
248 <uniform>
249 <name>landing_light1_offset</name>
250 <type>float</type>
251 <value><use>landing_light1_offset</use></value>
252 </uniform>
253 <uniform>
254 <name>landing_light2_offset</name>
255 <type>float</type>
256 <value><use>landing_light2_offset</use></value>
257 </uniform>
258 <uniform>
259 <name>landing_light3_offset</name>
260 <type>float</type>
261 <value><use>landing_light3_offset</use></value>
262 </uniform>
263 <uniform>
264 <name>use_searchlight</name>
265 <type>int</type>
266 <value> <use>use_searchlight</use></value>
267 </uniform>
268 <uniform>
269 <name>use_landing_light</name>
270 <type>int</type>
271 <value> <use>use_landing_light</use></value>
272 </uniform>
273 <uniform>
274 <name>use_alt_landing_light</name>
275 <type>int</type>
276 <value> <use>use_alt_landing_light</use></value>
277 </uniform>
278 <uniform>
279 <name>display_xsize</name>
280 <type>int</type>
281 <value><use>display_xsize</use></value>
282 </uniform>
283 <uniform>
284 <name>display_ysize</name>
285 <type>int</type>
286 <value><use>display_ysize</use></value>
287 </uniform>
288 </pass>
289 </technique>
290
291 <!-- fall back without shaders -->
292 <technique n="11">
293 <pass>
294 <lighting>false</lighting>
295 <shade-model>smooth</shade-model>
296 <cull-face>back</cull-face>
297 </pass>
298 </technique>
299
300 </PropertyList>