Solve artifact for deferred mobile too

This commit is contained in:
N8n5h 2020-12-27 16:45:27 -03:00
parent 893b313643
commit b05f719392

View file

@ -221,7 +221,7 @@ void main() {
, li, lightsArray[li * 2].w, true // bias
#endif
#ifdef _Spot
, li > numPoints - 1
, lightsArray[li * 2 + 1].w != 0.0
, lightsArray[li * 2 + 1].w // cutoff
, lightsArraySpot[li].w // cutoff - exponent
, lightsArraySpot[li].xyz // spotDir