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-05-11 22:29:40 +00:00
|
|
|
<ambient-occlusion type="bool"><use>/sim/rendering/rembrandt/ambient-occlusion-buffers</use></ambient-occlusion>
|
2012-05-12 11:06:45 +00:00
|
|
|
<bloom type="bool"><use>/sim/rendering/rembrandt/bloom</use></bloom>
|
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>
|
2012-05-09 21:52:26 +00:00
|
|
|
<texture-unit>
|
|
|
|
<unit>5</unit>
|
|
|
|
<type>buffer</type>
|
2012-05-12 11:06:45 +00:00
|
|
|
<name>bloom-3</name>
|
2012-05-09 21:52:26 +00:00
|
|
|
</texture-unit>
|
2012-05-12 21:38:00 +00:00
|
|
|
<texture-unit>
|
|
|
|
<unit>6</unit>
|
|
|
|
<type>buffer</type>
|
|
|
|
<name>ao-3</name>
|
|
|
|
</texture-unit>
|
2012-03-25 16:51:41 +00:00
|
|
|
<program>
|
2012-05-12 09:47:18 +00:00
|
|
|
<vertex-shader>Shaders/fullscreen.vert</vertex-shader>
|
2012-03-25 16:51:41 +00:00
|
|
|
<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>
|
2012-05-09 21:52:26 +00:00
|
|
|
<uniform>
|
2012-05-12 11:06:45 +00:00
|
|
|
<name>bloom_tex</name>
|
2012-05-09 21:52:26 +00:00
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">5</value>
|
|
|
|
</uniform>
|
2012-05-12 21:38:00 +00:00
|
|
|
<uniform>
|
|
|
|
<name>ao_tex</name>
|
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">6</value>
|
|
|
|
</uniform>
|
2012-03-25 16:51:41 +00:00
|
|
|
<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>
|
2012-05-11 22:29:40 +00:00
|
|
|
<uniform>
|
|
|
|
<name>ambientOcclusion</name>
|
|
|
|
<type>bool</type>
|
|
|
|
<value type="bool"><use>ambient-occlusion</use></value>
|
|
|
|
</uniform>
|
2012-05-12 11:06:45 +00:00
|
|
|
<uniform>
|
|
|
|
<name>bloomEnabled</name>
|
|
|
|
<type>bool</type>
|
|
|
|
<value type="bool"><use>bloom</use></value>
|
|
|
|
</uniform>
|
2012-03-25 16:51:41 +00:00
|
|
|
</pass>
|
|
|
|
</technique>
|
|
|
|
</PropertyList>
|