Add clear masks to all compositor passes
This commit is contained in:
parent
c6b526f343
commit
873ae6b3d5
5 changed files with 5 additions and 1 deletions
|
@ -76,6 +76,7 @@
|
||||||
|
|
||||||
<pass n="10" include="common-scene.xml">
|
<pass n="10" include="common-scene.xml">
|
||||||
<name>far</name>
|
<name>far</name>
|
||||||
|
<clear-mask>color depth</clear-mask>
|
||||||
<z-near>100.0</z-near>
|
<z-near>100.0</z-near>
|
||||||
</pass>
|
</pass>
|
||||||
<pass n="11" include="common-scene.xml">
|
<pass n="11" include="common-scene.xml">
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
<type>csm</type>
|
<type>csm</type>
|
||||||
<implicit-attachment-mask/>
|
<implicit-attachment-mask/>
|
||||||
<effect-scheme>classic-shadow</effect-scheme>
|
<effect-scheme>classic-shadow</effect-scheme>
|
||||||
|
<clear-mask>depth</clear-mask>
|
||||||
<!-- Only render objects with the CAST_SHADOW bit flag -->
|
<!-- Only render objects with the CAST_SHADOW bit flag -->
|
||||||
<cull-mask>0x000004</cull-mask>
|
<cull-mask>0x000004</cull-mask>
|
||||||
<render-at-night>false</render-at-night>
|
<render-at-night>false</render-at-night>
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
<type>csm</type>
|
<type>csm</type>
|
||||||
<implicit-attachment-mask/>
|
<implicit-attachment-mask/>
|
||||||
<effect-scheme>hdr-shadow</effect-scheme>
|
<effect-scheme>hdr-shadow</effect-scheme>
|
||||||
|
<clear-mask>depth</clear-mask>
|
||||||
<!-- Only render objects with the CAST_SHADOW bit flag -->
|
<!-- Only render objects with the CAST_SHADOW bit flag -->
|
||||||
<cull-mask>0x000004</cull-mask>
|
<cull-mask>0x000004</cull-mask>
|
||||||
<render-at-night>false</render-at-night>
|
<render-at-night>false</render-at-night>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
<PropertyList>
|
<PropertyList>
|
||||||
<type>scene</type>
|
<type>scene</type>
|
||||||
<effect-scheme>hdr-envmap</effect-scheme>
|
<effect-scheme>hdr-envmap</effect-scheme>
|
||||||
|
<clear-mask>depth</clear-mask>
|
||||||
<!-- Only render the skydome and terrain -->
|
<!-- Only render the skydome and terrain -->
|
||||||
<!-- TODO: Explicitly select the LOD level -->
|
<!-- TODO: Explicitly select the LOD level -->
|
||||||
<cull-mask>0x801</cull-mask>
|
<cull-mask>0x801</cull-mask>
|
||||||
|
|
|
@ -569,6 +569,7 @@
|
||||||
<name>geometry</name>
|
<name>geometry</name>
|
||||||
<type>scene</type>
|
<type>scene</type>
|
||||||
<effect-scheme>hdr-geometry</effect-scheme>
|
<effect-scheme>hdr-geometry</effect-scheme>
|
||||||
|
<clear-mask>depth</clear-mask>
|
||||||
<cull-mask>0xfffff7ff</cull-mask>
|
<cull-mask>0xfffff7ff</cull-mask>
|
||||||
<attachment>
|
<attachment>
|
||||||
<component>color0</component>
|
<component>color0</component>
|
||||||
|
@ -719,7 +720,6 @@
|
||||||
<name>forward</name>
|
<name>forward</name>
|
||||||
<type>scene</type>
|
<type>scene</type>
|
||||||
<effect-scheme>hdr-forward</effect-scheme>
|
<effect-scheme>hdr-forward</effect-scheme>
|
||||||
<clear-mask></clear-mask>
|
|
||||||
<binding>
|
<binding>
|
||||||
<unit>9</unit>
|
<unit>9</unit>
|
||||||
<buffer>envmap</buffer>
|
<buffer>envmap</buffer>
|
||||||
|
|
Loading…
Reference in a new issue