217 lines
5.8 KiB
XML
217 lines
5.8 KiB
XML
<?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>
|
|
<condition>
|
|
<equal>
|
|
<value type="bool">true</value>
|
|
<property>/sim/rendering/rembrandt/no-16bit-buffer</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>
|
|
<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>
|
|
<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>
|
|
<buffer>
|
|
<name>ao-1</name>
|
|
<condition>
|
|
<property>/sim/rendering/rembrandt/ambient-occlusion-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>ao-2</name>
|
|
<condition>
|
|
<property>/sim/rendering/rembrandt/ambient-occlusion-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>ao-3</name>
|
|
<condition>
|
|
<property>/sim/rendering/rembrandt/ambient-occlusion-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>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>
|
|
<order-num>0</order-num>
|
|
<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>
|
|
<order-num>1</order-num>
|
|
<attachment>
|
|
<component>depth</component>
|
|
<buffer>shadow</buffer>
|
|
</attachment>
|
|
</stage>
|
|
<stage>
|
|
<name>ssao-1</name>
|
|
<type>fullscreen</type>
|
|
<condition>
|
|
<property>/sim/rendering/rembrandt/ambient-occlusion-buffers</property>
|
|
</condition>
|
|
<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>
|
|
<condition>
|
|
<property>/sim/rendering/rembrandt/ambient-occlusion-buffers</property>
|
|
</condition>
|
|
<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>
|
|
<condition>
|
|
<property>/sim/rendering/rembrandt/ambient-occlusion-buffers</property>
|
|
</condition>
|
|
<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>
|
|
<stage>
|
|
<name>lighting</name>
|
|
<order-num>50</order-num>
|
|
<attachment>
|
|
<component>depth</component>
|
|
<buffer>depth</buffer>
|
|
</attachment>
|
|
<attachment>
|
|
<component>color0</component>
|
|
<buffer>lighting</buffer>
|
|
</attachment>
|
|
</stage>
|
|
<stage>
|
|
<name>display</name>
|
|
<order-num>99</order-num>
|
|
<effect>Effects/display</effect>
|
|
</stage>
|
|
</PropertyList>
|