2D Lights - moving Lights near each other becoming too bright

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By aidave

How do you deal with 2D lights becoming too bright when overlapping?

Usually this is when two or more lights end up moving close together.

I could run a detection to see if other lights are nearby, then lessen their energy, but I’m wondering if there are better solutions?

:bust_in_silhouette: Reply From: zhyrin

Lights have a blend mode, which is additive by default, you can try using mix instead, but this will change how the lights look on their own too.

I’ve experimented with Mix mode, and while it’s not as nice as Add, I think in this case, along with increasing the Energy, it’s a good-enough solution to my current problem.

I’ll leave this question open for a little while, in case there is another solution, but if not I’ll select your answer

aidave | 2023-03-15 00:05

I’ve found that the Mix mode makes my lights go “backwards”. So where they once were shining on a characters face from underneath in Add mode, for example, in Mix mode they would make the characters darker from underneath. Maybe in Mix mode they would need to be using different textures?

aidave | 2023-03-31 14:48