borup3 / Lighting-System-2D

2D lighting system for GameMaker Studio
MIT License
67 stars 9 forks source link

Backwards blending #4

Open doctorb77 opened 5 years ago

doctorb77 commented 5 years ago

Backwards blending on the directional lights sometimes leaves what appears to be less bright versions of the main light. This undesirable effect is most noticeable on low resolution games with moving and rotating lights.

The bottom picture shows the temporary fix of setting the BLEND_TEXELS distance to 8.0 instead of 64.0. However this has diminishing effects on the blending quality.

lights2 lights4

borup3 commented 5 years ago

Thanks for posting this issue.

I'll try to take a look at this in June fix the backwards blending so it retains the visual fidelity of a high BLEND_TEXELS value in low resolution games.