2012-03-25 16:51:41 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PropertyList>
|
|
|
|
<name>Effects/display</name>
|
|
|
|
<parameters>
|
2012-05-08 15:13:15 +00:00
|
|
|
<exposure type="float"><use>/sim/rendering/rembrandt/exposure</use></exposure>
|
|
|
|
<show-buffers type="bool"><use>/sim/rendering/rembrandt/show-buffers</use></show-buffers>
|
2012-03-25 16:51:41 +00:00
|
|
|
</parameters>
|
|
|
|
<technique n="11">
|
|
|
|
<pass>
|
|
|
|
<render-bin>
|
|
|
|
<bin-number>99999</bin-number>
|
|
|
|
<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-25 16:51:41 +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-25 16:51:41 +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-25 16:51:41 +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-25 16:51:41 +00:00
|
|
|
</texture-unit>
|
|
|
|
<texture-unit>
|
|
|
|
<unit>4</unit>
|
2012-04-15 12:54:47 +00:00
|
|
|
<type>buffer</type>
|
|
|
|
<name>lighting</name>
|
2012-03-25 16:51:41 +00:00
|
|
|
</texture-unit>
|
|
|
|
<program>
|
|
|
|
<vertex-shader>Shaders/display.vert</vertex-shader>
|
|
|
|
<fragment-shader>Shaders/display.frag</fragment-shader>
|
|
|
|
</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>specular_tex</name>
|
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">3</value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>lighting_tex</name>
|
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">4</value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>exposure</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value type="float"><use>exposure</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>showBuffers</name>
|
|
|
|
<type>bool</type>
|
|
|
|
<value type="bool"><use>show-buffers</use></value>
|
|
|
|
</uniform>
|
|
|
|
</pass>
|
|
|
|
</technique>
|
|
|
|
</PropertyList>
|