1
0
Fork 0
fgdata/Compositor/Classic/csm-pass.xml
Fernando García Liñán 46b1cd62f7 Fix shadows on Mac OS
2021-07-29 15:49:43 +02:00

17 lines
496 B
XML

<?xml version="1.0" encoding="utf-8"?>
<PropertyList>
<type>csm</type>
<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>
<condition>
<property>/sim/rendering/shadows/enabled</property>
</condition>
<attachment>
<buffer>sun-shadowmap-atlas</buffer>
<component>depth</component>
</attachment>
</PropertyList>