2012-04-11 11:32:47 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PropertyList>
|
2014-11-16 21:09:41 +00:00
|
|
|
<name>Effects/lfeat</name>
|
2014-10-10 08:20:19 +00:00
|
|
|
<inherits-from>Effects/runway</inherits-from>
|
2012-04-11 11:32:47 +00:00
|
|
|
<parameters>
|
|
|
|
<material>
|
|
|
|
<ambient type="vec4d">
|
|
|
|
1.0 1.0 1.0 1.0
|
|
|
|
</ambient>
|
|
|
|
<diffuse type="vec4d">
|
|
|
|
1.0 1.0 1.0 1.0
|
|
|
|
</diffuse>
|
|
|
|
<specular type="vec4d">
|
|
|
|
1.0 1.0 1.0 1.0
|
|
|
|
</specular>
|
|
|
|
<emissive type="vec4d">
|
|
|
|
0.0 0.0 0.0 1.0
|
|
|
|
</emissive>
|
|
|
|
<shininess>1.2</shininess>
|
|
|
|
</material>
|
2012-11-01 19:03:59 +00:00
|
|
|
<transparent>true</transparent>
|
2014-10-10 08:20:19 +00:00
|
|
|
<raise_vertex type="bool">true</raise_vertex>
|
2012-04-11 11:32:47 +00:00
|
|
|
</parameters>
|
|
|
|
<technique n="1">
|
2014-10-10 08:20:19 +00:00
|
|
|
<predicate>
|
|
|
|
<equal>
|
|
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
|
|
<value type="bool" >false</value>
|
|
|
|
</equal>
|
|
|
|
</predicate>
|
2012-04-11 11:32:47 +00:00
|
|
|
<pass>
|
2013-10-09 08:10:21 +00:00
|
|
|
<lighting>true</lighting>
|
|
|
|
<depth>
|
|
|
|
<write-mask type="bool">false</write-mask>
|
|
|
|
</depth>
|
2012-04-11 11:32:47 +00:00
|
|
|
<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>
|
2014-03-24 21:27:15 +00:00
|
|
|
<bin-number>7</bin-number>
|
2013-10-09 08:10:21 +00:00
|
|
|
<bin-name>DepthSortedBin</bin-name>
|
2012-04-11 11:32:47 +00:00
|
|
|
</render-bin>
|
|
|
|
<texture-unit>
|
|
|
|
<unit>0</unit>
|
|
|
|
<image>
|
|
|
|
<use>texture[0]/image</use>
|
|
|
|
</image>
|
2014-01-15 22:34:55 +00:00
|
|
|
<type>
|
|
|
|
<use>texture[0]/type</use>
|
|
|
|
</type>
|
2012-04-11 11:32:47 +00:00
|
|
|
<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>
|
|
|
|
<environment>
|
|
|
|
<mode>modulate</mode>
|
|
|
|
</environment>
|
|
|
|
</texture-unit>
|
|
|
|
<polygon-offset>
|
2020-12-03 18:25:01 +00:00
|
|
|
<factor>-2.0</factor>
|
|
|
|
<units>-5.0</units>
|
2012-04-11 11:32:47 +00:00
|
|
|
</polygon-offset>
|
|
|
|
</pass>
|
|
|
|
</technique>
|
2023-02-19 15:47:55 +00:00
|
|
|
|
|
|
|
<technique n="107">
|
|
|
|
<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>
|
|
|
|
<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_lfeat.vert</vertex-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/terrain_lfeat.frag</fragment-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/gbuffer_pack.glsl</fragment-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/normal_encoding.glsl</fragment-shader>
|
|
|
|
<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>
|
2023-04-07 06:17:37 +00:00
|
|
|
<polygon-offset>
|
|
|
|
<factor>2.0</factor>
|
|
|
|
<units>1.0</units>
|
|
|
|
</polygon-offset>
|
2023-02-19 15:47:55 +00:00
|
|
|
</pass>
|
|
|
|
</technique>
|
2014-01-15 22:34:55 +00:00
|
|
|
</PropertyList>
|