1
0
Fork 0

Fix black halo around lights by removing depth write

This commit is contained in:
Stuart Buchanan 2014-02-27 22:49:25 +00:00
parent 8c6af01348
commit 7cba9da8a1

View file

@ -106,7 +106,6 @@
</pass>
</technique>
<technique n="17">
<!-- Combined technique -->
<predicate>
@ -130,6 +129,9 @@
<bin-name>DepthSortedBin</bin-name>
</render-bin>
<lighting>false</lighting>
<depth>
<write-mask>false</write-mask>
</depth>
<blend>
<source>src-alpha</source>
<destination>one-minus-src-alpha</destination>
@ -159,7 +161,6 @@
</pass>
</technique>
<technique n="18">
<!-- Sprite technique -->
<predicate>
@ -180,6 +181,9 @@
<bin-name>DepthSortedBin</bin-name>
</render-bin>
<lighting>false</lighting>
<depth>
<write-mask>false</write-mask>
</depth>
<blend>
<source>src-alpha</source>
<destination>one-minus-src-alpha</destination>
@ -223,6 +227,9 @@
<bin-number>8</bin-number>
<bin-name>DepthSortedBin</bin-name>
</render-bin>
<depth>
<write-mask>false</write-mask>
</depth>
<blend>
<source>src-alpha</source>
<destination>one-minus-src-alpha</destination>
@ -244,6 +251,9 @@
<bin-name>DepthSortedBin</bin-name>
</render-bin>
<lighting>false</lighting>
<depth>
<write-mask>false</write-mask>
</depth>
<blend>
<source>src-alpha</source>
<destination>one-minus-src-alpha</destination>