2012-03-31 22:00:43 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PropertyList>
|
2014-11-16 21:09:41 +00:00
|
|
|
<name>Effects/fog</name>
|
2012-03-31 22:00:43 +00:00
|
|
|
<technique n="11">
|
|
|
|
<pass>
|
|
|
|
<lighting>false</lighting>
|
|
|
|
<depth>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</depth>
|
|
|
|
<blend>
|
|
|
|
<source>src-alpha</source>
|
|
|
|
<destination>one-minus-src-alpha</destination>
|
|
|
|
</blend>
|
|
|
|
<render-bin>
|
2012-07-14 11:09:42 +00:00
|
|
|
<bin-number>1</bin-number>
|
2012-03-31 22:00:43 +00:00
|
|
|
<bin-name>RenderBin</bin-name>
|
|
|
|
</render-bin>
|
|
|
|
<texture-unit>
|
|
|
|
<unit>0</unit>
|
2012-04-15 12:54:47 +00:00
|
|
|
<type>buffer</type>
|
|
|
|
<name>depth</name>
|
2012-03-31 22:00:43 +00:00
|
|
|
</texture-unit>
|
|
|
|
<texture-unit>
|
|
|
|
<unit>1</unit>
|
2012-04-15 12:54:47 +00:00
|
|
|
<type>buffer</type>
|
|
|
|
<name>normal</name>
|
2012-03-31 22:00:43 +00:00
|
|
|
</texture-unit>
|
|
|
|
<texture-unit>
|
|
|
|
<unit>2</unit>
|
2012-04-15 12:54:47 +00:00
|
|
|
<type>buffer</type>
|
|
|
|
<name>diffuse</name>
|
2012-03-31 22:00:43 +00:00
|
|
|
</texture-unit>
|
|
|
|
<texture-unit>
|
|
|
|
<unit>3</unit>
|
2012-04-15 12:54:47 +00:00
|
|
|
<type>buffer</type>
|
|
|
|
<name>spec-emis</name>
|
2012-03-31 22:00:43 +00:00
|
|
|
</texture-unit>
|
|
|
|
<program>
|
|
|
|
<vertex-shader>Shaders/fog.vert</vertex-shader>
|
|
|
|
<fragment-shader>Shaders/fog.frag</fragment-shader>
|
2012-04-12 21:58:03 +00:00
|
|
|
<fragment-shader>Shaders/gbuffer-functions.frag</fragment-shader>
|
2012-03-31 22:00:43 +00:00
|
|
|
</program>
|
|
|
|
<uniform>
|
|
|
|
<name>depth_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>color_tex</name>
|
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">2</value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>spec_emis_tex</name>
|
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">3</value>
|
|
|
|
</uniform>
|
|
|
|
<!-- The following uniforms are automatically defined and initialized :
|
|
|
|
- fg_SunAmbientColor
|
|
|
|
- fg_SunDiffuseColor
|
|
|
|
- fg_SunSpecularColor
|
|
|
|
- fg_SunDirection
|
|
|
|
- fg_ProjectionMatrixInverse
|
|
|
|
- fg_ViewMatrixInverse
|
|
|
|
- fg_ViewMatrix
|
|
|
|
- fg_Planes
|
|
|
|
- fg_FogColor
|
|
|
|
- fg_FogDensity
|
|
|
|
-->
|
|
|
|
</pass>
|
|
|
|
</technique>
|
|
|
|
</PropertyList>
|
|
|
|
|