2011-11-27 23:24:12 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PropertyList>
|
2014-11-16 21:09:41 +00:00
|
|
|
<name>Effects/runway</name>
|
2011-12-01 21:44:10 +00:00
|
|
|
<inherits-from>Effects/terrain-default</inherits-from>
|
|
|
|
<parameters>
|
|
|
|
<texture n="4">
|
2012-02-23 21:56:28 +00:00
|
|
|
<image>Textures/Runway/rwy-normalmap.png</image>
|
2011-12-01 21:44:10 +00:00
|
|
|
<filter>linear-mipmap-linear</filter>
|
|
|
|
<wrap-s>repeat</wrap-s>
|
|
|
|
<wrap-t>repeat</wrap-t>
|
|
|
|
<internal-format>normalized</internal-format>
|
2013-11-18 02:17:58 +00:00
|
|
|
<type>2d</type>
|
2011-12-01 21:44:10 +00:00
|
|
|
</texture>
|
2011-11-27 23:24:12 +00:00
|
|
|
<texture n="5">
|
|
|
|
<type>cubemap</type>
|
|
|
|
<!-- use this form for a cube cross -->
|
|
|
|
<!--<image>Aircraft/Generic/Effects/CubeCrosses/blue_sky_big.jpg</image>-->
|
|
|
|
|
2012-02-23 21:56:28 +00:00
|
|
|
<!-- use this form for a 6 image cube map -->
|
2011-12-10 09:43:29 +00:00
|
|
|
<images>
|
|
|
|
<positive-x>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_px.png</positive-x>
|
|
|
|
<negative-x>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_nx.png</negative-x>
|
|
|
|
<positive-y>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_py.png</positive-y>
|
|
|
|
<negative-y>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_ny.png</negative-y>
|
|
|
|
<positive-z>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_pz.png</positive-z>
|
|
|
|
<negative-z>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_nz.png</negative-z>
|
|
|
|
</images>
|
2011-11-27 23:24:12 +00:00
|
|
|
|
2011-12-01 21:44:10 +00:00
|
|
|
</texture>
|
|
|
|
<texture n="6">
|
2013-11-18 02:17:58 +00:00
|
|
|
<type>2d</type>
|
2011-12-01 21:44:10 +00:00
|
|
|
<image>Aircraft/Generic/Effects/Rainbow.png</image>
|
|
|
|
<filter>linear-mipmap-linear</filter>
|
|
|
|
<wrap-s>repeat</wrap-s>
|
|
|
|
<wrap-t>repeat</wrap-t>
|
|
|
|
<internal-format>normalized</internal-format>
|
|
|
|
</texture>
|
|
|
|
<texture n="7">
|
2013-11-18 02:17:58 +00:00
|
|
|
<type>2d</type>
|
2011-12-01 21:44:10 +00:00
|
|
|
<image>Aircraft/Generic/Effects/FresnelLookUp.png</image>
|
|
|
|
<filter>linear-mipmap-linear</filter>
|
|
|
|
<wrap-s>repeat</wrap-s>
|
|
|
|
<wrap-t>repeat</wrap-t>
|
|
|
|
<internal-format>normalized</internal-format>
|
|
|
|
</texture>
|
|
|
|
<texture n="8">
|
2013-11-18 02:17:58 +00:00
|
|
|
<type>2d</type>
|
2012-02-23 21:56:28 +00:00
|
|
|
<image>Textures/Runway/rwy-reflect.png</image>
|
2011-12-01 21:44:10 +00:00
|
|
|
<filter>linear-mipmap-linear</filter>
|
|
|
|
<wrap-s>repeat</wrap-s>
|
|
|
|
<wrap-t>repeat</wrap-t>
|
|
|
|
<internal-format>normalized</internal-format>
|
|
|
|
</texture>
|
|
|
|
<rendering-hint>transparent</rendering-hint>
|
|
|
|
<shade-model>smooth</shade-model>
|
|
|
|
<rainbowiness type="float">0.01</rainbowiness>
|
2012-02-23 21:56:28 +00:00
|
|
|
<fresneliness type="float">0.01</fresneliness>
|
|
|
|
<noisiness type="float">0.15</noisiness>
|
|
|
|
<ambient_correction type="float">-0.15</ambient_correction>
|
|
|
|
<normalmap_dds type="float">0.0</normalmap_dds>
|
2011-12-01 21:44:10 +00:00
|
|
|
<vertex-program-two-side type="bool">false</vertex-program-two-side>
|
|
|
|
<cull-face>back</cull-face>
|
2014-03-17 06:49:49 +00:00
|
|
|
<rnorm><use>/environment/rain-norm</use></rnorm>
|
2011-12-01 21:44:10 +00:00
|
|
|
|
2011-11-27 23:24:12 +00:00
|
|
|
<!-- BEGIN fog include -->
|
2012-11-20 13:11:21 +00:00
|
|
|
<visibility><use>/environment/ground-visibility-m</use></visibility>
|
|
|
|
<avisibility><use>/environment/visibility-m</use></avisibility>
|
|
|
|
<lthickness><use>/environment/ground-haze-thickness-m</use></lthickness>
|
|
|
|
<scattering><use>/rendering/scene/scattering</use></scattering>
|
|
|
|
<ground_scattering><use>/environment/surface/scattering</use></ground_scattering>
|
|
|
|
<terminator><use>/environment/terminator-relative-position-m</use></terminator>
|
|
|
|
<terrain_alt><use>/environment/mean-terrain-elevation-m</use></terrain_alt>
|
|
|
|
<overcast><use>/rendering/scene/overcast</use></overcast>
|
|
|
|
<eye_alt><use>/sim/rendering/eye-altitude-m</use></eye_alt>
|
|
|
|
<snow_level><use>/environment/snow-level-m</use></snow_level>
|
|
|
|
<dust_cover_factor><use>/environment/surface/dust-cover-factor</use></dust_cover_factor>
|
|
|
|
<lichen_cover_factor><use>/environment/surface/lichen-cover-factor</use></lichen_cover_factor>
|
|
|
|
<snow_thickness_factor><use>/environment/surface/snow-thickness-factor</use></snow_thickness_factor>
|
|
|
|
<wetness><use>/environment/surface/wetness</use></wetness>
|
2014-08-04 08:05:19 +00:00
|
|
|
<uvstretch>1.0</uvstretch>
|
2016-08-01 09:32:57 +00:00
|
|
|
<num_lightspots><use>/sim/rendering/als-secondary-lights/num-lightspots</use></num_lightspots>
|
|
|
|
<eyerel_x1><use>/sim/rendering/als-secondary-lights/lightspot/eyerel-x-m</use></eyerel_x1>
|
|
|
|
<eyerel_y1><use>/sim/rendering/als-secondary-lights/lightspot/eyerel-y-m</use></eyerel_y1>
|
|
|
|
<eyerel_z1><use>/sim/rendering/als-secondary-lights/lightspot/eyerel-z-m</use></eyerel_z1>
|
|
|
|
<lightspot_project1><use>/sim/rendering/als-secondary-lights/lightspot/stretch</use></lightspot_project1>
|
|
|
|
<lightspot_dir1><use>/sim/rendering/als-secondary-lights/lightspot/dir</use></lightspot_dir1>
|
|
|
|
<lightspot_size1><use>/sim/rendering/als-secondary-lights/lightspot/size</use></lightspot_size1>
|
|
|
|
<lightspot_r1><use>/sim/rendering/als-secondary-lights/lightspot/lightspot-r</use></lightspot_r1>
|
|
|
|
<lightspot_g1><use>/sim/rendering/als-secondary-lights/lightspot/lightspot-g</use></lightspot_g1>
|
|
|
|
<lightspot_b1><use>/sim/rendering/als-secondary-lights/lightspot/lightspot-b</use></lightspot_b1>
|
|
|
|
<eyerel_x2><use>/sim/rendering/als-secondary-lights/lightspot/eyerel-x-m[1]</use></eyerel_x2>
|
|
|
|
<eyerel_y2><use>/sim/rendering/als-secondary-lights/lightspot/eyerel-y-m[1]</use></eyerel_y2>
|
|
|
|
<eyerel_z2><use>/sim/rendering/als-secondary-lights/lightspot/eyerel-z-m[1]</use></eyerel_z2>
|
|
|
|
<lightspot_project2><use>/sim/rendering/als-secondary-lights/lightspot/stretch[1]</use></lightspot_project2>
|
|
|
|
<lightspot_dir2><use>/sim/rendering/als-secondary-lights/lightspot/dir[1]</use></lightspot_dir2>
|
|
|
|
<lightspot_size2><use>/sim/rendering/als-secondary-lights/lightspot/size[1]</use></lightspot_size2>
|
|
|
|
<lightspot_r2><use>/sim/rendering/als-secondary-lights/lightspot/lightspot-r[1]</use></lightspot_r2>
|
|
|
|
<lightspot_g2><use>/sim/rendering/als-secondary-lights/lightspot/lightspot-g[1]</use></lightspot_g2>
|
|
|
|
<lightspot_b2><use>/sim/rendering/als-secondary-lights/lightspot/lightspot-b[1]</use></lightspot_b2>
|
|
|
|
<eyerel_x3><use>/sim/rendering/als-secondary-lights/lightspot/eyerel-x-m[2]</use></eyerel_x3>
|
|
|
|
<eyerel_y3><use>/sim/rendering/als-secondary-lights/lightspot/eyerel-y-m[2]</use></eyerel_y3>
|
|
|
|
<eyerel_z3><use>/sim/rendering/als-secondary-lights/lightspot/eyerel-z-m[2]</use></eyerel_z3>
|
|
|
|
<lightspot_size3><use>/sim/rendering/als-secondary-lights/lightspot/size[2]</use></lightspot_size3>
|
|
|
|
<lightspot_r3><use>/sim/rendering/als-secondary-lights/lightspot/lightspot-r[2]</use></lightspot_r3>
|
|
|
|
<lightspot_g3><use>/sim/rendering/als-secondary-lights/lightspot/lightspot-g[2]</use></lightspot_g3>
|
|
|
|
<lightspot_b3><use>/sim/rendering/als-secondary-lights/lightspot/lightspot-b[2]</use></lightspot_b3>
|
|
|
|
<eyerel_x4><use>/sim/rendering/als-secondary-lights/lightspot/eyerel-x-m[3]</use></eyerel_x4>
|
|
|
|
<eyerel_y4><use>/sim/rendering/als-secondary-lights/lightspot/eyerel-y-m[3]</use></eyerel_y4>
|
|
|
|
<eyerel_z4><use>/sim/rendering/als-secondary-lights/lightspot/eyerel-z-m[3]</use></eyerel_z4>
|
|
|
|
<lightspot_size4><use>/sim/rendering/als-secondary-lights/lightspot/size[3]</use></lightspot_size4>
|
|
|
|
<lightspot_r4><use>/sim/rendering/als-secondary-lights/lightspot/lightspot-r[3]</use></lightspot_r4>
|
|
|
|
<lightspot_g4><use>/sim/rendering/als-secondary-lights/lightspot/lightspot-g[3]</use></lightspot_g4>
|
|
|
|
<lightspot_b4><use>/sim/rendering/als-secondary-lights/lightspot/lightspot-b[3]</use></lightspot_b4>
|
|
|
|
<eyerel_x5><use>/sim/rendering/als-secondary-lights/lightspot/eyerel-x-m[4]</use></eyerel_x5>
|
|
|
|
<eyerel_y5><use>/sim/rendering/als-secondary-lights/lightspot/eyerel-y-m[4]</use></eyerel_y5>
|
|
|
|
<eyerel_z5><use>/sim/rendering/als-secondary-lights/lightspot/eyerel-z-m[4]</use></eyerel_z5>
|
|
|
|
<lightspot_size5><use>/sim/rendering/als-secondary-lights/lightspot/size[4]</use></lightspot_size5>
|
|
|
|
<lightspot_r5><use>/sim/rendering/als-secondary-lights/lightspot/lightspot-r[4]</use></lightspot_r5>
|
|
|
|
<lightspot_g5><use>/sim/rendering/als-secondary-lights/lightspot/lightspot-g[4]</use></lightspot_g5>
|
|
|
|
<lightspot_b5><use>/sim/rendering/als-secondary-lights/lightspot/lightspot-b[4]</use></lightspot_b5>
|
2012-12-13 10:17:51 +00:00
|
|
|
<fogtype><use>/sim/rendering/shaders/skydome</use></fogtype>
|
2012-11-20 13:11:21 +00:00
|
|
|
<fogstructure><use>/environment/fog-structure</use></fogstructure>
|
|
|
|
<cloud_self_shading><use>/environment/cloud-self-shading</use></cloud_self_shading>
|
|
|
|
<moonlight><use>/environment/moonlight</use></moonlight>
|
2016-04-08 07:49:55 +00:00
|
|
|
<delta_T><use>/environment/surface/delta-T-rock</use></delta_T>
|
2012-11-20 13:11:21 +00:00
|
|
|
<quality_level><use>/sim/rendering/shaders/landmass</use></quality_level>
|
|
|
|
<tquality_level><use>/sim/rendering/shaders/transition</use></tquality_level>
|
2014-10-10 08:20:19 +00:00
|
|
|
<raise_vertex type="bool">false</raise_vertex>
|
2015-10-27 13:18:45 +00:00
|
|
|
<overlay_flag type="int">0</overlay_flag>
|
2011-11-27 23:24:12 +00:00
|
|
|
<!-- END fog include -->
|
2011-12-01 21:44:10 +00:00
|
|
|
</parameters>
|
|
|
|
<generate>
|
|
|
|
<tangent type="int">6</tangent>
|
|
|
|
<binormal type="int">7</binormal>
|
|
|
|
</generate>
|
2012-11-20 13:11:21 +00:00
|
|
|
|
|
|
|
|
2013-01-21 11:57:18 +00:00
|
|
|
<technique n="2">
|
2012-11-20 13:11:21 +00:00
|
|
|
<predicate>
|
|
|
|
<and>
|
|
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
|
|
<or>
|
|
|
|
<less-equal>
|
|
|
|
<value type="float">4.0</value>
|
|
|
|
<float-property>/sim/rendering/shaders/landmass</float-property>
|
|
|
|
</less-equal>
|
|
|
|
<less-equal>
|
|
|
|
<value type="float">3.0</value>
|
|
|
|
<float-property>/sim/rendering/shaders/transition</float-property>
|
|
|
|
</less-equal>
|
|
|
|
</or>
|
|
|
|
<or>
|
|
|
|
<less-equal>
|
|
|
|
<value type="float">2.0</value>
|
|
|
|
<glversion/>
|
|
|
|
</less-equal>
|
|
|
|
<and>
|
|
|
|
<extension-supported>GL_ARB_shader_objects</extension-supported>
|
|
|
|
<extension-supported>GL_ARB_shading_language_100</extension-supported>
|
|
|
|
<extension-supported>GL_ARB_vertex_shader</extension-supported>
|
|
|
|
<extension-supported>GL_ARB_fragment_shader</extension-supported>
|
|
|
|
</and>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
</predicate>
|
2014-01-11 22:15:35 +00:00
|
|
|
|
|
|
|
|
2012-11-20 13:11:21 +00:00
|
|
|
<pass>
|
|
|
|
<lighting>true</lighting>
|
|
|
|
<material>
|
|
|
|
<ambient><use>material/ambient</use></ambient>
|
|
|
|
<diffuse><use>material/diffuse</use></diffuse>
|
|
|
|
<specular><use>material/specular</use></specular>
|
|
|
|
<emissive><use>material/emissive</use></emissive>
|
|
|
|
<shininess><use>material/shininess</use></shininess>
|
|
|
|
<color-mode>ambient-and-diffuse</color-mode>
|
|
|
|
</material>
|
|
|
|
<blend><use>transparent</use></blend>
|
|
|
|
<alpha-test><use>transparent</use></alpha-test>
|
|
|
|
<shade-model>smooth</shade-model>
|
|
|
|
<cull-face>back</cull-face>
|
|
|
|
<render-bin>
|
|
|
|
<bin-number><use>render-bin/bin-number</use></bin-number>
|
|
|
|
<bin-name><use>render-bin/bin-name</use></bin-name>
|
|
|
|
</render-bin>
|
|
|
|
<texture-unit>
|
|
|
|
<unit>0</unit>
|
2013-11-18 02:17:58 +00:00
|
|
|
<type><use>texture[0]/type</use></type>
|
2012-11-20 13:11:21 +00:00
|
|
|
<image><use>texture[0]/image</use></image>
|
|
|
|
<filter><use>texture[0]/filter</use></filter>
|
|
|
|
<wrap-s><use>texture[0]/wrap-s</use></wrap-s>
|
|
|
|
<wrap-t><use>texture[0]/wrap-t</use></wrap-t>
|
|
|
|
<internal-format><use>texture[0]/internal-format</use></internal-format>
|
|
|
|
</texture-unit>
|
2012-12-13 10:17:51 +00:00
|
|
|
<texture-unit>
|
|
|
|
<unit>4</unit>
|
2013-11-18 02:17:58 +00:00
|
|
|
<type><use>texture[4]/type</use></type>
|
2012-12-13 10:17:51 +00:00
|
|
|
<image><use>texture[4]/image</use></image>
|
|
|
|
<filter><use>texture[4]/filter</use></filter>
|
|
|
|
<wrap-s><use>texture[4]/wrap-s</use></wrap-s>
|
|
|
|
<wrap-t><use>texture[4]/wrap-t</use></wrap-t>
|
|
|
|
<internal-format><use>texture[4]/internal-format</use></internal-format>
|
2012-11-20 13:11:21 +00:00
|
|
|
</texture-unit>
|
|
|
|
<program>
|
2016-03-18 07:32:34 +00:00
|
|
|
<vertex-shader n="0">Shaders/terrain-ALS-ultra.vert</vertex-shader>
|
2017-06-18 07:08:39 +00:00
|
|
|
<vertex-shader n="1">Shaders/filters-ALS.vert</vertex-shader>
|
2020-11-10 00:45:54 +00:00
|
|
|
<vertex-shader n="2">Shaders/shadows-include.vert</vertex-shader>
|
2016-03-18 07:32:34 +00:00
|
|
|
<fragment-shader n="0">Shaders/runway-ALS.frag</fragment-shader>
|
2020-11-10 00:45:54 +00:00
|
|
|
<fragment-shader n="1">Shaders/cloud-shadowfunc.frag</fragment-shader>
|
|
|
|
<fragment-shader n="2">Shaders/noise.frag</fragment-shader>
|
|
|
|
<fragment-shader n="3">Shaders/hazes.frag</fragment-shader>
|
|
|
|
<fragment-shader n="4">Shaders/secondary_lights.frag</fragment-shader>
|
|
|
|
<fragment-shader n="5">Shaders/filters-ALS.frag</fragment-shader>
|
|
|
|
<fragment-shader n="6">Shaders/lightspot-ALS.frag</fragment-shader>
|
|
|
|
<fragment-shader n="7">Shaders/shadows-include.frag</fragment-shader>
|
2020-12-22 09:52:59 +00:00
|
|
|
<fragment-shader n="8">Shaders/clustered-include.frag</fragment-shader>
|
2012-11-20 13:11:21 +00:00
|
|
|
</program>
|
|
|
|
<uniform>
|
|
|
|
<name>visibility</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>visibility</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>avisibility</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>avisibility</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>hazeLayerAltitude</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lthickness</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>scattering</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>scattering</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>ground_scattering</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>ground_scattering</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>terminator</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>terminator</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>terrain_alt</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>terrain_alt</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>overcast</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>overcast</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>eye_alt</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>eye_alt</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>snowlevel</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>snow_level</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>snow_thickness_factor</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value> <use>snow_thickness_factor</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>dust_cover_factor</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>dust_cover_factor</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lichen_cover_factor</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value> <use>lichen_cover_factor</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>wetness</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>wetness</use></value>
|
|
|
|
</uniform>
|
2014-11-01 18:10:55 +00:00
|
|
|
<uniform>
|
|
|
|
<name>rain_norm</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>rnorm</use></value>
|
|
|
|
</uniform>
|
2012-11-20 13:11:21 +00:00
|
|
|
<uniform>
|
|
|
|
<name>fogstructure</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>fogstructure</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloud_self_shading</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloud_self_shading</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>moonlight</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>moonlight</use></value>
|
|
|
|
</uniform>
|
2014-03-17 06:49:49 +00:00
|
|
|
<uniform>
|
2014-08-04 08:05:19 +00:00
|
|
|
<name>uvstretch</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>uvstretch</use></value>
|
|
|
|
</uniform>
|
2014-10-04 08:32:45 +00:00
|
|
|
<uniform>
|
|
|
|
<name>air_pollution</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>air_pollution</use></value>
|
|
|
|
</uniform>
|
2016-08-01 09:32:57 +00:00
|
|
|
|
2016-03-18 07:32:34 +00:00
|
|
|
<!-- secondary lights -->
|
2014-10-05 11:08:29 +00:00
|
|
|
<uniform>
|
|
|
|
<name>view_pitch_offset</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>view_pitch_offset</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>view_heading_offset</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>view_heading_offset</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>field_of_view</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>view_fov</use></value>
|
|
|
|
</uniform>
|
2014-10-06 06:43:51 +00:00
|
|
|
<uniform>
|
|
|
|
<name>landing_light1_offset</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>landing_light1_offset</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>landing_light2_offset</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>landing_light2_offset</use></value>
|
|
|
|
</uniform>
|
2015-10-22 09:06:12 +00:00
|
|
|
<uniform>
|
|
|
|
<name>landing_light3_offset</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>landing_light3_offset</use></value>
|
|
|
|
</uniform>
|
2016-08-01 09:32:57 +00:00
|
|
|
<uniform>
|
|
|
|
<name>eyerel_x1</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>eyerel_x1</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>eyerel_y1</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>eyerel_y1</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>eyerel_z1</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>eyerel_z1</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_project1</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_project1</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_dir1</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_dir1</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_size1</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_size1</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_r1</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_r1</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_g1</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_g1</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_b1</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_b1</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>eyerel_x2</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>eyerel_x2</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>eyerel_y2</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>eyerel_y2</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>eyerel_z2</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>eyerel_z2</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_project2</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_project2</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_dir2</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_dir2</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_size2</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_size2</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_r2</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_r2</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_g2</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_g2</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_b2</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_b2</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>eyerel_x3</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>eyerel_x3</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>eyerel_y3</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>eyerel_y3</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>eyerel_z3</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>eyerel_z3</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_size3</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_size3</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_r3</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_r3</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_g3</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_g3</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_b3</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_b3</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>eyerel_x4</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>eyerel_x4</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>eyerel_y4</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>eyerel_y4</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>eyerel_z4</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>eyerel_z4</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_size4</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_size4</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_r4</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_r4</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_g4</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_g4</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_b4</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_b4</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>eyerel_x5</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>eyerel_x5</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>eyerel_y5</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>eyerel_y5</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>eyerel_z5</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>eyerel_z5</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_size5</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_size5</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_r5</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_r5</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_g5</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_g5</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lightspot_b5</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>lightspot_b5</use></value>
|
|
|
|
</uniform>
|
2016-03-18 07:32:34 +00:00
|
|
|
<!-- filtering -->
|
|
|
|
<uniform>
|
|
|
|
<name>gamma</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>gamma</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>brightness</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>brightness</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>use_night_vision</name>
|
|
|
|
<type>bool</type>
|
|
|
|
<value><use>use_night_vision</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>use_IR_vision</name>
|
|
|
|
<type>bool</type>
|
|
|
|
<value><use>use_IR_vision</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>use_filtering</name>
|
|
|
|
<type>bool</type>
|
|
|
|
<value><use>use_filtering</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>delta_T</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>delta_T</use></value>
|
|
|
|
</uniform>
|
2017-03-03 17:50:13 +00:00
|
|
|
<uniform>
|
|
|
|
<name>fact_grey</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>fact_grey</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>fact_black</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>fact_black</use></value>
|
|
|
|
</uniform>
|
2016-03-18 07:32:34 +00:00
|
|
|
<!-- cloud shadows -->
|
2014-08-04 08:05:19 +00:00
|
|
|
<uniform>
|
2014-03-17 06:49:49 +00:00
|
|
|
<name>cloudpos1_x</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos1_x</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos1_y</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos1_y</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos2_x</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos2_x</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos2_y</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos2_y</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos3_x</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos3_x</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos3_y</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos3_y</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos4_x</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos4_x</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos4_y</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos4_y</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos5_x</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos5_x</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos5_y</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos5_y</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos6_x</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos6_x</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos6_y</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos6_y</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos7_x</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos7_x</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos7_y</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos7_y</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos8_x</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos8_x</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos8_y</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos8_y</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos9_x</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos9_x</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos9_y</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos9_y</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos10_x</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos10_x</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos10_y</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos10_y</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos11_x</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos11_x</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos11_y</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos11_y</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos12_x</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos12_x</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos12_y</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos12_y</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos13_x</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos13_x</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos13_y</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos13_y</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos14_x</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos14_x</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos14_y</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos14_y</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos15_x</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos15_x</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos15_y</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos15_y</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos16_x</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos16_x</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos16_y</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos16_y</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos17_x</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos17_x</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos17_y</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos17_y</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos18_x</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos18_x</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos18_y</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos18_y</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos19_x</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos19_x</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos19_y</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos19_y</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos20_x</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos20_x</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloudpos20_y</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>cloudpos20_y</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>cloud_shadow_flag</name>
|
|
|
|
<type>int</type>
|
|
|
|
<value><use>cloud_shadow_flag</use></value>
|
|
|
|
</uniform>
|
2012-11-20 13:11:21 +00:00
|
|
|
<uniform>
|
|
|
|
<name>quality_level</name>
|
|
|
|
<type>int</type>
|
|
|
|
<value><use>quality_level</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>tquality_level</name>
|
|
|
|
<type>int</type>
|
|
|
|
<value><use>tquality_level</use></value>
|
|
|
|
</uniform>
|
2015-10-22 09:06:12 +00:00
|
|
|
<uniform>
|
|
|
|
<name>use_searchlight</name>
|
|
|
|
<type>int</type>
|
|
|
|
<value><use>use_searchlight</use></value>
|
2014-10-05 11:08:29 +00:00
|
|
|
</uniform>
|
|
|
|
<uniform>
|
2015-10-22 09:06:12 +00:00
|
|
|
<name>use_landing_light</name>
|
|
|
|
<type>int</type>
|
|
|
|
<value><use>use_landing_light</use></value>
|
2014-10-05 11:08:29 +00:00
|
|
|
</uniform>
|
2014-10-06 06:43:51 +00:00
|
|
|
<uniform>
|
2015-10-22 09:06:12 +00:00
|
|
|
<name>use_alt_landing_light</name>
|
|
|
|
<type>int</type>
|
|
|
|
<value><use>use_alt_landing_light</use></value>
|
2014-10-06 06:43:51 +00:00
|
|
|
</uniform>
|
2014-10-05 11:08:29 +00:00
|
|
|
<uniform>
|
|
|
|
<name>display_xsize</name>
|
|
|
|
<type>int</type>
|
|
|
|
<value><use>display_xsize</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>display_ysize</name>
|
|
|
|
<type>int</type>
|
|
|
|
<value><use>display_ysize</use></value>
|
2014-10-04 08:32:45 +00:00
|
|
|
</uniform>
|
2016-08-01 09:32:57 +00:00
|
|
|
<uniform>
|
|
|
|
<name>num_lightspots</name>
|
|
|
|
<type>int</type>
|
|
|
|
<value><use>num_lightspots</use></value>
|
|
|
|
</uniform>
|
2015-10-27 13:18:45 +00:00
|
|
|
<uniform>
|
|
|
|
<name>overlay_flag</name>
|
|
|
|
<type>int</type>
|
|
|
|
<value><use>overlay_flag</use></value>
|
|
|
|
</uniform>
|
2014-10-10 08:20:19 +00:00
|
|
|
<uniform>
|
|
|
|
<name>raise_vertex</name>
|
|
|
|
<type>bool</type>
|
|
|
|
<value> <use>raise_vertex</use></value>
|
|
|
|
</uniform>
|
2012-11-20 13:11:21 +00:00
|
|
|
<uniform>
|
|
|
|
<name>texture</name>
|
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">0</value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
2012-12-13 10:17:51 +00:00
|
|
|
<name>NormalTex</name>
|
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">4</value>
|
2012-11-20 13:11:21 +00:00
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>colorMode</name>
|
|
|
|
<type>int</type>
|
|
|
|
<value>2</value>
|
|
|
|
<!-- AMBIENT_AND_DIFFUSE -->
|
|
|
|
</uniform>
|
2020-11-10 00:45:54 +00:00
|
|
|
<!-- BEGIN shadows include -->
|
|
|
|
<uniform>
|
|
|
|
<name>shadow_tex</name>
|
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">10</value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>shadows_enabled</name>
|
|
|
|
<type>bool</type>
|
|
|
|
<value>
|
|
|
|
<use>shadows_enabled</use>
|
|
|
|
</value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>sun_atlas_size</name>
|
|
|
|
<type>int</type>
|
|
|
|
<value>
|
|
|
|
<use>sun_atlas_size</use>
|
|
|
|
</value>
|
|
|
|
</uniform>
|
|
|
|
<!-- END shadows include -->
|
2014-10-10 08:20:19 +00:00
|
|
|
<!--<depth>
|
2012-11-20 13:11:21 +00:00
|
|
|
<function>lequal</function>
|
2014-10-10 08:20:19 +00:00
|
|
|
<write-mask type="bool">false</write-mask>
|
|
|
|
</depth>-->
|
|
|
|
<alpha-test>
|
|
|
|
<comparison>greater</comparison>
|
|
|
|
<reference type="float">0.4</reference>
|
|
|
|
</alpha-test>
|
2012-11-20 13:11:21 +00:00
|
|
|
</pass>
|
|
|
|
</technique>
|
2023-02-19 15:47:55 +00:00
|
|
|
|
|
|
|
<technique n="108">
|
|
|
|
<scheme>hdr-geometry</scheme>
|
|
|
|
<pass>
|
|
|
|
<!-- Reverse floating point depth buffer -->
|
|
|
|
<depth>
|
|
|
|
<function>gequal</function>
|
|
|
|
<near>1.0</near>
|
|
|
|
<far>0.0</far>
|
|
|
|
</depth>
|
|
|
|
<stencil>
|
|
|
|
<function>always</function>
|
|
|
|
<value>9</value>
|
|
|
|
<pass>replace</pass>
|
|
|
|
</stencil>
|
|
|
|
<texture-unit>
|
|
|
|
<unit>0</unit>
|
|
|
|
<type><use>texture[0]/type</use></type>
|
|
|
|
<image><use>texture[0]/image</use></image>
|
|
|
|
<filter><use>texture[0]/filter</use></filter>
|
|
|
|
<wrap-s><use>texture[0]/wrap-s</use></wrap-s>
|
|
|
|
<wrap-t><use>texture[0]/wrap-t</use></wrap-t>
|
|
|
|
</texture-unit>
|
|
|
|
<texture-unit>
|
|
|
|
<unit>1</unit>
|
|
|
|
<type><use>texture[4]/type</use></type>
|
|
|
|
<image><use>texture[4]/image</use></image>
|
|
|
|
<filter><use>texture[4]/filter</use></filter>
|
|
|
|
<wrap-s><use>texture[4]/wrap-s</use></wrap-s>
|
|
|
|
<wrap-t><use>texture[4]/wrap-t</use></wrap-t>
|
|
|
|
</texture-unit>
|
|
|
|
<texture-unit>
|
|
|
|
<unit>2</unit>
|
|
|
|
<type>noise</type>
|
|
|
|
</texture-unit>
|
|
|
|
<blend>0</blend>
|
|
|
|
<rendering-hint>opaque</rendering-hint>
|
|
|
|
<cull-face>back</cull-face>
|
|
|
|
<program>
|
2023-04-07 06:17:37 +00:00
|
|
|
<vertex-shader>Shaders/HDR/terrain_runway.vert</vertex-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/terrain_runway.frag</fragment-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/gbuffer_pack.glsl</fragment-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/normal_encoding.glsl</fragment-shader>
|
2023-04-17 03:09:24 +00:00
|
|
|
<fragment-shader>Shaders/HDR/normalmap.glsl</fragment-shader>
|
2023-04-07 06:17:37 +00:00
|
|
|
<fragment-shader>Shaders/HDR/color.glsl</fragment-shader>
|
2023-02-19 15:47:55 +00:00
|
|
|
</program>
|
|
|
|
<uniform>
|
|
|
|
<name>color_tex</name>
|
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">0</value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>normal_tex</name>
|
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">1</value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>noise_tex</name>
|
|
|
|
<type>sampler-3d</type>
|
|
|
|
<value type="int">2</value>
|
|
|
|
</uniform>
|
|
|
|
</pass>
|
|
|
|
</technique>
|
2011-11-27 23:24:12 +00:00
|
|
|
</PropertyList>
|