1
0
Fork 0

Add clear masks to all compositor passes

This commit is contained in:
Fernando García Liñán 2021-07-26 16:20:25 +02:00
parent c6b526f343
commit 873ae6b3d5
5 changed files with 5 additions and 1 deletions

View file

@ -76,6 +76,7 @@
<pass n="10" include="common-scene.xml">
<name>far</name>
<clear-mask>color depth</clear-mask>
<z-near>100.0</z-near>
</pass>
<pass n="11" include="common-scene.xml">

View file

@ -4,6 +4,7 @@
<type>csm</type>
<implicit-attachment-mask/>
<effect-scheme>classic-shadow</effect-scheme>
<clear-mask>depth</clear-mask>
<!-- Only render objects with the CAST_SHADOW bit flag -->
<cull-mask>0x000004</cull-mask>
<render-at-night>false</render-at-night>

View file

@ -4,6 +4,7 @@
<type>csm</type>
<implicit-attachment-mask/>
<effect-scheme>hdr-shadow</effect-scheme>
<clear-mask>depth</clear-mask>
<!-- Only render objects with the CAST_SHADOW bit flag -->
<cull-mask>0x000004</cull-mask>
<render-at-night>false</render-at-night>

View file

@ -3,6 +3,7 @@
<PropertyList>
<type>scene</type>
<effect-scheme>hdr-envmap</effect-scheme>
<clear-mask>depth</clear-mask>
<!-- Only render the skydome and terrain -->
<!-- TODO: Explicitly select the LOD level -->
<cull-mask>0x801</cull-mask>

View file

@ -569,6 +569,7 @@
<name>geometry</name>
<type>scene</type>
<effect-scheme>hdr-geometry</effect-scheme>
<clear-mask>depth</clear-mask>
<cull-mask>0xfffff7ff</cull-mask>
<attachment>
<component>color0</component>
@ -719,7 +720,6 @@
<name>forward</name>
<type>scene</type>
<effect-scheme>hdr-forward</effect-scheme>
<clear-mask></clear-mask>
<binding>
<unit>9</unit>
<buffer>envmap</buffer>