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-12 11:06:45 +00:00
|
|
|
<bloom type="bool"><use>/sim/rendering/rembrandt/bloom</use></bloom>
|
2012-05-18 10:42:34 +00:00
|
|
|
<bloom-buffers type="bool"><use>/sim/rendering/rembrandt/bloom-buffers</use></bloom-buffers>
|
|
|
|
|
|
|
|
<buffer-nw-enabled><use>/sim/rendering/rembrandt/debug-buffer[0]/enabled</use></buffer-nw-enabled>
|
|
|
|
<buffer-nw-name><use>/sim/rendering/rembrandt/debug-buffer[0]/name</use></buffer-nw-name>
|
|
|
|
<buffer-ne-enabled><use>/sim/rendering/rembrandt/debug-buffer[1]/enabled</use></buffer-ne-enabled>
|
|
|
|
<buffer-ne-name><use>/sim/rendering/rembrandt/debug-buffer[1]/name</use></buffer-ne-name>
|
|
|
|
<buffer-sw-enabled><use>/sim/rendering/rembrandt/debug-buffer[2]/enabled</use></buffer-sw-enabled>
|
|
|
|
<buffer-sw-name><use>/sim/rendering/rembrandt/debug-buffer[2]/name</use></buffer-sw-name>
|
|
|
|
<buffer-se-enabled><use>/sim/rendering/rembrandt/debug-buffer[3]/enabled</use></buffer-se-enabled>
|
|
|
|
<buffer-se-name><use>/sim/rendering/rembrandt/debug-buffer[3]/name</use></buffer-se-name>
|
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>
|
2012-05-18 10:42:34 +00:00
|
|
|
<name>lighting</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>
|
2012-05-18 10:42:34 +00:00
|
|
|
<name>bloom-3</name>
|
2012-03-25 16:51:41 +00:00
|
|
|
</texture-unit>
|
2012-05-18 10:42:34 +00:00
|
|
|
|
2012-03-25 16:51:41 +00:00
|
|
|
<texture-unit>
|
|
|
|
<unit>2</unit>
|
2012-04-15 12:54:47 +00:00
|
|
|
<type>buffer</type>
|
2012-05-18 10:42:34 +00:00
|
|
|
<name><use>buffer-nw-name</use></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>
|
2012-05-18 10:42:34 +00:00
|
|
|
<name><use>buffer-ne-name</use></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>
|
2012-05-18 10:42:34 +00:00
|
|
|
<name><use>buffer-sw-name</use></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-18 10:42:34 +00:00
|
|
|
<name><use>buffer-se-name</use></name>
|
2012-05-12 21:38:00 +00:00
|
|
|
</texture-unit>
|
2012-05-18 10:42:34 +00:00
|
|
|
|
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>
|
2012-05-18 10:42:34 +00:00
|
|
|
<name>lighting_tex</name>
|
2012-03-25 16:51:41 +00:00
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">0</value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
2012-05-18 10:42:34 +00:00
|
|
|
<name>bloom_tex</name>
|
2012-03-25 16:51:41 +00:00
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">1</value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
2012-05-18 10:42:34 +00:00
|
|
|
<name>bufferNW_tex</name>
|
2012-03-25 16:51:41 +00:00
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">2</value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
2012-05-18 10:42:34 +00:00
|
|
|
<name>bufferNE_tex</name>
|
2012-03-25 16:51:41 +00:00
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">3</value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
2012-05-18 10:42:34 +00:00
|
|
|
<name>bufferSW_tex</name>
|
2012-03-25 16:51:41 +00:00
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">4</value>
|
|
|
|
</uniform>
|
2012-05-09 21:52:26 +00:00
|
|
|
<uniform>
|
2012-05-18 10:42:34 +00:00
|
|
|
<name>bufferSE_tex</name>
|
2012-05-09 21:52:26 +00:00
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">5</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-18 10:42:34 +00:00
|
|
|
|
|
|
|
<uniform>
|
|
|
|
<name>bufferNW_enabled</name>
|
|
|
|
<type>bool</type>
|
|
|
|
<value type="bool"><use>buffer-nw-enabled</use></value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>bufferNE_enabled</name>
|
|
|
|
<type>bool</type>
|
|
|
|
<value type="bool"><use>buffer-ne-enabled</use></value>
|
|
|
|
</uniform>
|
2012-05-11 22:29:40 +00:00
|
|
|
<uniform>
|
2012-05-18 10:42:34 +00:00
|
|
|
<name>bufferSW_enabled</name>
|
2012-05-11 22:29:40 +00:00
|
|
|
<type>bool</type>
|
2012-05-18 10:42:34 +00:00
|
|
|
<value type="bool"><use>buffer-sw-enabled</use></value>
|
2012-05-11 22:29:40 +00:00
|
|
|
</uniform>
|
2012-05-18 10:42:34 +00:00
|
|
|
<uniform>
|
|
|
|
<name>bufferSE_enabled</name>
|
|
|
|
<type>bool</type>
|
|
|
|
<value type="bool"><use>buffer-se-enabled</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-05-18 10:42:34 +00:00
|
|
|
<uniform>
|
|
|
|
<name>bloomBuffers</name>
|
|
|
|
<type>bool</type>
|
|
|
|
<value type="bool"><use>bloom-buffers</use></value>
|
|
|
|
</uniform>
|
2012-03-25 16:51:41 +00:00
|
|
|
</pass>
|
|
|
|
</technique>
|
|
|
|
</PropertyList>
|