2012-05-08 13:36:08 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PropertyList>
|
|
|
|
<buffer>
|
|
|
|
<name>depth</name>
|
|
|
|
<internal-format>depth-component32</internal-format>
|
|
|
|
<source-format>depth-component</source-format>
|
|
|
|
<source-type>float</source-type>
|
|
|
|
<width>screen</width>
|
|
|
|
<height>screen</height>
|
|
|
|
<scale-factor>1.0</scale-factor>
|
|
|
|
<wrap-mode>clamp-to-border</wrap-mode>
|
|
|
|
</buffer>
|
|
|
|
<buffer>
|
|
|
|
<name>normal</name>
|
2012-05-11 22:29:40 +00:00
|
|
|
<condition>
|
|
|
|
<equal>
|
|
|
|
<value type="bool">true</value>
|
|
|
|
<property>/sim/rendering/rembrandt/no-16bit-buffer</property>
|
|
|
|
</equal>
|
|
|
|
</condition>
|
2012-05-08 13:36:08 +00:00
|
|
|
<internal-format>rgba8</internal-format>
|
|
|
|
<source-format>rgba</source-format>
|
|
|
|
<source-type>unsigned-byte</source-type>
|
|
|
|
<width>screen</width>
|
|
|
|
<height>screen</height>
|
|
|
|
<scale-factor>1.0</scale-factor>
|
|
|
|
<wrap-mode>clamp-to-border</wrap-mode>
|
|
|
|
</buffer>
|
2012-05-11 22:29:40 +00:00
|
|
|
<buffer>
|
|
|
|
<name>normal</name>
|
|
|
|
<condition>
|
|
|
|
<equal>
|
|
|
|
<value type="bool">false</value>
|
|
|
|
<property>/sim/rendering/rembrandt/no-16bit-buffer</property>
|
|
|
|
</equal>
|
|
|
|
</condition>
|
|
|
|
<internal-format>rg16</internal-format>
|
|
|
|
<source-format>rg</source-format>
|
|
|
|
<source-type>unsigned-short</source-type>
|
|
|
|
<width>screen</width>
|
|
|
|
<height>screen</height>
|
|
|
|
<scale-factor>1.0</scale-factor>
|
|
|
|
<wrap-mode>clamp-to-border</wrap-mode>
|
|
|
|
</buffer>
|
2012-05-08 13:36:08 +00:00
|
|
|
<buffer>
|
|
|
|
<name>shadow</name>
|
|
|
|
<internal-format>depth-component32</internal-format>
|
|
|
|
<source-format>depth-component</source-format>
|
|
|
|
<source-type>float</source-type>
|
|
|
|
<width><property>/sim/rendering/shadows/map-size</property></width>
|
|
|
|
<height><property>/sim/rendering/shadows/map-size</property></height>
|
|
|
|
<scale-factor>1.0</scale-factor>
|
|
|
|
<shadow-comparison>true</shadow-comparison>
|
|
|
|
<shadow-texture-mode>luminance</shadow-texture-mode>
|
|
|
|
<border-color type="vec4d">1.0 1.0 1.0 1.0</border-color>
|
|
|
|
<wrap-mode>clamp-to-border</wrap-mode>
|
|
|
|
</buffer>
|
|
|
|
<buffer>
|
|
|
|
<name>diffuse</name>
|
|
|
|
<internal-format>rgba8</internal-format>
|
|
|
|
<source-format>rgba</source-format>
|
|
|
|
<source-type>unsigned-byte</source-type>
|
|
|
|
<width>screen</width>
|
|
|
|
<height>screen</height>
|
|
|
|
<scale-factor>1.0</scale-factor>
|
|
|
|
<wrap-mode>clamp-to-border</wrap-mode>
|
|
|
|
</buffer>
|
|
|
|
<buffer>
|
|
|
|
<name>spec-emis</name>
|
|
|
|
<internal-format>rgba8</internal-format>
|
|
|
|
<source-format>rgba</source-format>
|
|
|
|
<source-type>unsigned-byte</source-type>
|
|
|
|
<width>screen</width>
|
|
|
|
<height>screen</height>
|
|
|
|
<scale-factor>1.0</scale-factor>
|
|
|
|
<wrap-mode>clamp-to-border</wrap-mode>
|
|
|
|
</buffer>
|
2012-05-09 21:52:26 +00:00
|
|
|
<buffer>
|
|
|
|
<name>ao-1</name>
|
2012-05-11 22:29:40 +00:00
|
|
|
<condition>
|
|
|
|
<property>/sim/rendering/rembrandt/ambient-occlusion-buffers</property>
|
|
|
|
</condition>
|
2012-05-09 21:52:26 +00:00
|
|
|
<internal-format>rgba8</internal-format>
|
|
|
|
<source-format>rgba</source-format>
|
|
|
|
<source-type>unsigned-byte</source-type>
|
|
|
|
<width>screen</width>
|
|
|
|
<height>screen</height>
|
|
|
|
<scale-factor>0.25</scale-factor>
|
|
|
|
<wrap-mode>clamp-to-border</wrap-mode>
|
|
|
|
</buffer>
|
|
|
|
<buffer>
|
|
|
|
<name>ao-2</name>
|
2012-05-11 22:29:40 +00:00
|
|
|
<condition>
|
|
|
|
<property>/sim/rendering/rembrandt/ambient-occlusion-buffers</property>
|
|
|
|
</condition>
|
2012-05-09 21:52:26 +00:00
|
|
|
<internal-format>rgba8</internal-format>
|
|
|
|
<source-format>rgba</source-format>
|
|
|
|
<source-type>unsigned-byte</source-type>
|
|
|
|
<width>screen</width>
|
|
|
|
<height>screen</height>
|
|
|
|
<scale-factor>0.25</scale-factor>
|
|
|
|
<wrap-mode>clamp-to-border</wrap-mode>
|
|
|
|
</buffer>
|
|
|
|
<buffer>
|
|
|
|
<name>ao-3</name>
|
2012-05-11 22:29:40 +00:00
|
|
|
<condition>
|
|
|
|
<property>/sim/rendering/rembrandt/ambient-occlusion-buffers</property>
|
|
|
|
</condition>
|
2012-05-09 21:52:26 +00:00
|
|
|
<internal-format>rgba8</internal-format>
|
|
|
|
<source-format>rgba</source-format>
|
|
|
|
<source-type>unsigned-byte</source-type>
|
|
|
|
<width>screen</width>
|
|
|
|
<height>screen</height>
|
|
|
|
<scale-factor>0.25</scale-factor>
|
|
|
|
<wrap-mode>clamp-to-border</wrap-mode>
|
|
|
|
</buffer>
|
2012-05-08 13:36:08 +00:00
|
|
|
<buffer>
|
|
|
|
<name>lighting</name>
|
|
|
|
<internal-format>rgba8</internal-format>
|
|
|
|
<source-format>rgba</source-format>
|
|
|
|
<source-type>unsigned-byte</source-type>
|
|
|
|
<width>screen</width>
|
|
|
|
<height>screen</height>
|
|
|
|
<scale-factor>1.0</scale-factor>
|
|
|
|
<wrap-mode>clamp-to-border</wrap-mode>
|
|
|
|
</buffer>
|
|
|
|
|
|
|
|
<!-- STAGES -->
|
|
|
|
<stage>
|
|
|
|
<name>geometry</name>
|
2012-05-09 21:52:26 +00:00
|
|
|
<order-num>0</order-num>
|
2012-05-08 13:36:08 +00:00
|
|
|
<attachment>
|
|
|
|
<component>depth</component>
|
|
|
|
<buffer>depth</buffer>
|
|
|
|
</attachment>
|
|
|
|
<attachment>
|
|
|
|
<component>color0</component>
|
|
|
|
<buffer>normal</buffer>
|
|
|
|
</attachment>
|
|
|
|
<attachment>
|
|
|
|
<component>color1</component>
|
|
|
|
<buffer>diffuse</buffer>
|
|
|
|
</attachment>
|
|
|
|
<attachment>
|
|
|
|
<component>color2</component>
|
|
|
|
<buffer>spec-emis</buffer>
|
|
|
|
</attachment>
|
|
|
|
</stage>
|
|
|
|
<stage>
|
|
|
|
<name>shadow</name>
|
2012-05-09 21:52:26 +00:00
|
|
|
<order-num>1</order-num>
|
2012-05-08 13:36:08 +00:00
|
|
|
<attachment>
|
|
|
|
<component>depth</component>
|
|
|
|
<buffer>shadow</buffer>
|
|
|
|
</attachment>
|
|
|
|
</stage>
|
2012-05-09 21:52:26 +00:00
|
|
|
<stage>
|
|
|
|
<name>ssao-1</name>
|
|
|
|
<type>fullscreen</type>
|
2012-05-11 22:29:40 +00:00
|
|
|
<condition>
|
|
|
|
<property>/sim/rendering/rembrandt/ambient-occlusion-buffers</property>
|
|
|
|
</condition>
|
2012-05-09 21:52:26 +00:00
|
|
|
<order-num>2</order-num>
|
|
|
|
<effect>Effects/ssao</effect>
|
|
|
|
<needs-du-dv>true</needs-du-dv>
|
|
|
|
<scale-factor>0.25</scale-factor>
|
|
|
|
<attachment>
|
|
|
|
<component>color0</component>
|
|
|
|
<buffer>ao-1</buffer>
|
|
|
|
</attachment>
|
|
|
|
</stage>
|
|
|
|
<stage>
|
|
|
|
<name>ssao-2</name>
|
|
|
|
<type>fullscreen</type>
|
2012-05-11 22:29:40 +00:00
|
|
|
<condition>
|
|
|
|
<property>/sim/rendering/rembrandt/ambient-occlusion-buffers</property>
|
|
|
|
</condition>
|
2012-05-09 21:52:26 +00:00
|
|
|
<order-num>3</order-num>
|
|
|
|
<effect>Effects/ssao-blur-1</effect>
|
|
|
|
<scale-factor>0.25</scale-factor>
|
|
|
|
<attachment>
|
|
|
|
<component>color0</component>
|
|
|
|
<buffer>ao-2</buffer>
|
|
|
|
</attachment>
|
|
|
|
</stage>
|
|
|
|
<stage>
|
|
|
|
<name>ssao-3</name>
|
|
|
|
<type>fullscreen</type>
|
2012-05-11 22:29:40 +00:00
|
|
|
<condition>
|
|
|
|
<property>/sim/rendering/rembrandt/ambient-occlusion-buffers</property>
|
|
|
|
</condition>
|
2012-05-09 21:52:26 +00:00
|
|
|
<order-num>4</order-num>
|
|
|
|
<effect>Effects/ssao-blur-2</effect>
|
|
|
|
<scale-factor>0.25</scale-factor>
|
|
|
|
<attachment>
|
|
|
|
<component>color0</component>
|
|
|
|
<buffer>ao-3</buffer>
|
|
|
|
</attachment>
|
|
|
|
</stage>
|
2012-05-08 13:36:08 +00:00
|
|
|
<stage>
|
|
|
|
<name>lighting</name>
|
2012-05-09 21:52:26 +00:00
|
|
|
<order-num>50</order-num>
|
2012-05-08 13:36:08 +00:00
|
|
|
<attachment>
|
|
|
|
<component>depth</component>
|
|
|
|
<buffer>depth</buffer>
|
|
|
|
</attachment>
|
|
|
|
<attachment>
|
|
|
|
<component>color0</component>
|
|
|
|
<buffer>lighting</buffer>
|
|
|
|
</attachment>
|
|
|
|
</stage>
|
|
|
|
<stage>
|
|
|
|
<name>display</name>
|
2012-05-09 21:52:26 +00:00
|
|
|
<order-num>99</order-num>
|
|
|
|
<effect>Effects/display</effect>
|
2012-05-08 13:36:08 +00:00
|
|
|
</stage>
|
|
|
|
</PropertyList>
|