Fix black halo around lights by removing depth write
This commit is contained in:
parent
8c6af01348
commit
7cba9da8a1
1 changed files with 99 additions and 89 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue