+1 vote

Hi guys. I have in my scene, named "Torch" light2D node. here is the properties.

And i added some torch on the scene and see that.

if i place many torches nearby, its getting much brighter. but signle torch's light is not so bright. How i can fix that "much bright"?!

Thx, and sorry for my bad eng ^)

Godot version 3.5
in Engine by (18 points)

1 Answer

+1 vote
Best answer

You have mode set to Add, this means light from all sources is added to each other.
If you set it to Mix, it will calculate the average instead.

by (156 points)
selected by

Okay, thank. That work good! But it's another problem.

if i place many torches, shadows in object sprites getting darker... Look. How i can fix this? (that shadows was drawed on the sprites)

I would try to put shadows in separate sprites, create a custom CanvasItemMaterial for them, and set its light_mode to LIGHT_MODE_LIGHT_ONLY.
See CanvasItemMaterial for reference.

thank you, i will try it later, and response you! :)

okay, i put in the shadow sprite material CanvasItemMaterial and set the light mode to light only, and it doesn't solve the problem, if i quit light2d area, shadow become invisible, but if i go to the torch, shadow also getting darker. ^(

wow, it works if i set light mode to unshaded, thanks for help!

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.