1
0
Fork 0
fgdata/Effects/Fallback/classic-shadow.eff
Fernando García Liñán 9b589f8061 Change shadow fallback technique index to -10
Canvas displays stop working with a technique index of 1000. There is no apparent reason for this, but changing it to 0 or a lower value fixes the issue. There doesn't seem to be any negative consequences from doing this.
2020-11-17 15:28:01 +01:00

19 lines
520 B
XML

<?xml version="1.0" encoding="utf-8"?>
<PropertyList>
<name>Effects/Fallback/classic-shadow</name>
<technique n="-10">
<scheme>classic-shadow</scheme>
<pass>
<lighting>false</lighting>
<color-mask type="vec4d">0 0 0 0</color-mask>
<cull-face>back</cull-face>
<blend>
<active>false</active>
</blend>
<alpha-test>
<comparison>greater</comparison>
<reference type="float">0.5</reference>
</alpha-test>
</pass>
</technique>
</PropertyList>