#[Bug] Lighting on item bugs when moving across certain point
1 messages · Page 1 of 1 (latest)
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
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
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.
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
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?
Basically it would just be a sprite I overlay on top, and it would be rendered in mix mode so they behave the same way as they do now