2012-05-08 13:36:08 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PropertyList>
|
2012-05-13 17:02:23 +00:00
|
|
|
<!-- Default rendering pipeline
|
|
|
|
|
|
|
|
options:
|
|
|
|
/sim/rendering/rembrandt/use-color-for-depth
|
|
|
|
/sim/rendering/rembrandt/no-16bit-buffer
|
|
|
|
/sim/rendering/shadows/map-size
|
|
|
|
/sim/rendering/rembrandt/ambient-occlusion-buffers
|
|
|
|
/sim/rendering/rembrandt/bloom-buffers
|
|
|
|
-->
|
2012-05-08 13:36:08 +00:00
|
|
|
<buffer>
|
|
|
|
<name>depth</name>
|
2012-05-12 11:31:32 +00:00
|
|
|
<condition>
|
|
|
|
<equal>
|
|
|
|
<value type="bool">false</value>
|
|
|
|
<property>/sim/rendering/rembrandt/use-color-for-depth</property>
|
|
|
|
</equal>
|
|
|
|
</condition>
|
|
|
|
<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>real-depth</name>
|
|
|
|
<condition>
|
|
|
|
<equal>
|
|
|
|
<value type="bool">true</value>
|
|
|
|
<property>/sim/rendering/rembrandt/use-color-for-depth</property>
|
|
|
|
</equal>
|
|
|
|
</condition>
|
2012-05-08 13:36:08 +00:00
|
|
|
<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>
|
2012-05-12 11:31:32 +00:00
|
|
|
<buffer>
|
|
|
|
<name>depth</name>
|
|
|
|
<condition>
|
|
|
|
<equal>
|
|
|
|
<value type="bool">true</value>
|
|
|
|
<property>/sim/rendering/rembrandt/use-color-for-depth</property>
|
|
|
|
</equal>
|
|
|
|
</condition>
|
|
|
|
<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-08 13:36:08 +00:00
|
|
|
<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>
|
2012-05-12 11:06:45 +00:00
|
|
|
<buffer>
|
|
|
|
<name>bloom-1</name>
|
|
|
|
<condition>
|
|
|
|
<property>/sim/rendering/rembrandt/bloom-buffers</property>
|
|
|
|
</condition>
|
|
|
|
<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>bloom-2</name>
|
|
|
|
<condition>
|
|
|
|
<property>/sim/rendering/rembrandt/bloom-buffers</property>
|
|
|
|
</condition>
|
|
|
|
<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>bloom-3</name>
|
|
|
|
<condition>
|
|
|
|
<property>/sim/rendering/rembrandt/bloom-buffers</property>
|
|
|
|
</condition>
|
|
|
|
<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
|
|
|
|
|
|
|
<!-- 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>
|
2012-05-12 11:31:32 +00:00
|
|
|
<condition>
|
|
|
|
<equal>
|
|
|
|
<value type="bool">false</value>
|
|
|
|
<property>/sim/rendering/rembrandt/use-color-for-depth</property>
|
|
|
|
</equal>
|
|
|
|
</condition>
|
|
|
|
</attachment>
|
|
|
|
<attachment>
|
|
|
|
<component>depth</component>
|
|
|
|
<buffer>real-depth</buffer>
|
|
|
|
<condition>
|
|
|
|
<equal>
|
|
|
|
<value type="bool">true</value>
|
|
|
|
<property>/sim/rendering/rembrandt/use-color-for-depth</property>
|
|
|
|
</equal>
|
|
|
|
</condition>
|
2012-05-08 13:36:08 +00:00
|
|
|
</attachment>
|
2012-05-12 11:31:32 +00:00
|
|
|
<attachment>
|
|
|
|
<component>color3</component>
|
|
|
|
<buffer>depth</buffer>
|
|
|
|
<condition>
|
|
|
|
<equal>
|
|
|
|
<value type="bool">true</value>
|
|
|
|
<property>/sim/rendering/rembrandt/use-color-for-depth</property>
|
|
|
|
</equal>
|
|
|
|
</condition>
|
|
|
|
</attachment>
|
|
|
|
|
2012-05-08 13:36:08 +00:00
|
|
|
<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>
|
2012-05-12 11:31:32 +00:00
|
|
|
<condition>
|
|
|
|
<equal>
|
|
|
|
<value type="bool">false</value>
|
|
|
|
<property>/sim/rendering/rembrandt/use-color-for-depth</property>
|
|
|
|
</equal>
|
|
|
|
</condition>
|
|
|
|
</attachment>
|
|
|
|
<attachment>
|
|
|
|
<component>depth</component>
|
|
|
|
<buffer>real-depth</buffer>
|
|
|
|
<condition>
|
|
|
|
<equal>
|
|
|
|
<value type="bool">true</value>
|
|
|
|
<property>/sim/rendering/rembrandt/use-color-for-depth</property>
|
|
|
|
</equal>
|
|
|
|
</condition>
|
2012-05-08 13:36:08 +00:00
|
|
|
</attachment>
|
|
|
|
<attachment>
|
|
|
|
<component>color0</component>
|
|
|
|
<buffer>lighting</buffer>
|
|
|
|
</attachment>
|
2012-05-13 17:02:23 +00:00
|
|
|
|
|
|
|
<pass>
|
|
|
|
<name>sky-clouds</name>
|
2012-07-14 11:09:42 +00:00
|
|
|
<debug-property>/sim/rendering/rembrandt/debug/lighting/sky</debug-property>
|
2012-05-13 17:02:23 +00:00
|
|
|
</pass>
|
|
|
|
<pass>
|
|
|
|
<name>ambient</name>
|
|
|
|
<type>fullscreen</type>
|
|
|
|
<effect>Effects/ambient</effect>
|
|
|
|
<order-num>1</order-num>
|
2012-07-14 11:09:42 +00:00
|
|
|
<debug-property>/sim/rendering/rembrandt/debug/lighting/ambient</debug-property>
|
2012-05-13 17:02:23 +00:00
|
|
|
</pass>
|
|
|
|
<pass>
|
|
|
|
<name>sunlight</name>
|
|
|
|
<type>fullscreen</type>
|
|
|
|
<effect>Effects/sunlight</effect>
|
|
|
|
<order-num>2</order-num>
|
2012-07-14 11:09:42 +00:00
|
|
|
<debug-property>/sim/rendering/rembrandt/debug/lighting/sunlight</debug-property>
|
2012-05-13 17:02:23 +00:00
|
|
|
</pass>
|
|
|
|
<pass>
|
|
|
|
<name>fog</name>
|
|
|
|
<type>fullscreen</type>
|
|
|
|
<effect>Effects/fog</effect>
|
2012-07-14 11:09:42 +00:00
|
|
|
<order-num>3</order-num>
|
|
|
|
<debug-property>/sim/rendering/rembrandt/debug/lighting/fog</debug-property>
|
|
|
|
</pass>
|
|
|
|
<pass>
|
|
|
|
<name>lights</name>
|
2012-05-13 17:02:23 +00:00
|
|
|
<order-num>4</order-num>
|
2012-07-14 11:09:42 +00:00
|
|
|
<debug-property>/sim/rendering/rembrandt/debug/lighting/lights</debug-property>
|
2012-05-13 17:02:23 +00:00
|
|
|
</pass>
|
2012-07-14 11:09:42 +00:00
|
|
|
<!-- pass>
|
|
|
|
<name>debug</name>
|
|
|
|
<type>fullscreen</type>
|
|
|
|
<effect>Effects/debug</effect>
|
|
|
|
<order-num>5</order-num>
|
|
|
|
<debug-property>/sim/rendering/rembrandt/debug/lighting/debug</debug-property>
|
|
|
|
</pass -->
|
2012-05-08 13:36:08 +00:00
|
|
|
</stage>
|
2012-05-12 11:06:45 +00:00
|
|
|
|
|
|
|
<stage>
|
|
|
|
<name>bloom-1</name>
|
|
|
|
<type>fullscreen</type>
|
|
|
|
<condition>
|
|
|
|
<property>/sim/rendering/rembrandt/bloom-buffers</property>
|
|
|
|
</condition>
|
|
|
|
<order-num>60</order-num>
|
|
|
|
<effect>Effects/bloom-combine</effect>
|
|
|
|
<scale-factor>0.25</scale-factor>
|
|
|
|
<attachment>
|
|
|
|
<component>color0</component>
|
|
|
|
<buffer>bloom-1</buffer>
|
|
|
|
</attachment>
|
|
|
|
</stage>
|
|
|
|
<stage>
|
|
|
|
<name>bloom-2</name>
|
|
|
|
<type>fullscreen</type>
|
|
|
|
<condition>
|
|
|
|
<property>/sim/rendering/rembrandt/bloom-buffers</property>
|
|
|
|
</condition>
|
|
|
|
<order-num>61</order-num>
|
|
|
|
<effect>Effects/bloom-blur-1</effect>
|
|
|
|
<scale-factor>0.25</scale-factor>
|
|
|
|
<attachment>
|
|
|
|
<component>color0</component>
|
|
|
|
<buffer>bloom-2</buffer>
|
|
|
|
</attachment>
|
|
|
|
</stage>
|
|
|
|
<stage>
|
|
|
|
<name>bloom-3</name>
|
|
|
|
<type>fullscreen</type>
|
|
|
|
<condition>
|
|
|
|
<property>/sim/rendering/rembrandt/bloom-buffers</property>
|
|
|
|
</condition>
|
|
|
|
<order-num>62</order-num>
|
|
|
|
<effect>Effects/bloom-blur-2</effect>
|
|
|
|
<scale-factor>0.25</scale-factor>
|
|
|
|
<attachment>
|
|
|
|
<component>color0</component>
|
|
|
|
<buffer>bloom-3</buffer>
|
|
|
|
</attachment>
|
|
|
|
</stage>
|
|
|
|
|
2012-05-08 13:36:08 +00:00
|
|
|
<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>
|