#[Bug] Lighting on item bugs when moving across certain point

1 messages · Page 1 of 1 (latest)

tepid tartan
#

[Bug] Lighting on item bugs when moving across certain point

amber kayak
#

This issue is actually related to Godot’s internal limit for number of lights per node

#

I believe a deferred render mode is being worked on, which will allow infinite lights

amber kayak
#

One option to solve this would be creating a custom lighting shader, but that would be a ton of work, and would lose me a lot of flexibility being able to do actual shadows and stuff like that

tepid tartan
#

I don't know much about the internal workings of the engine or how you are using it. But I imagine you are gonna have to do something about it sooner or later. Considering I haven't even spammed the base with lamps but only scattered them around for light.

amber kayak
#

Yeah i'll definitely need to. I think if I knew that this was a limitation with the lighting system when I started, i would have gone a different route.

#

Actually I just spent some time thinking up some solutions. I think a combination of deactivating out-of-view lights, as well as changing lamps to be a sprite instead of a Light2D node should hopefully fix the issue

tepid tartan
#

I just wanted to ask if you are deactivating the lamps outside of the player view. It's not gonna solve it entirely but it will improve it a ton.

#

What do you mean by changing them to sprites. Wouldn't you have to change how they work entirely?

amber kayak