How to clamp lights?

Godot Version

Godot 4.3

Question

Hi!
Is there a way to clamp the light energy on certain pixels so that lights don’t stack, or at least they can’t stack to a point where lights get super bright?


1 Like

At the moment, there is no such feature in Godot. You would have to create your own solution for this problem and I don’t know enough about light rendering to propose a solution to you.

I answered a post similar to this one a few months ago. The conclusion was to simply stick with using additive light blending (see post).

I hope someone has a better answer for you.


Other users have requested a feature for this very use case (see issue).

1 Like

As Sweatix mentioned, it depends on your use case. To me it seems that using Mix blend mode for lights will be a solution for this.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.