Hi! I'm struggling with light sources (SpotLight
, if that makes a difference) for my first 3D game. I have programming experience but game development, and in particular 3D, are new to me. I have tried reading up on Godot 3D lighting stuff but I still don't know what to search for or what's wrong.
I'm making a game in which there is a character going along a "road". The road is relatively long and I want to add streetlights along the sides. It's not super important that all streetlights are on the whole time, but it's of course important that any streetlights visible to the player at any given moment, are on.
I have tried placing SpotLight
objects where I want them, but the problem is that after a couple of seconds, as the camera (which follows the player) moves away from the start of the road, all lights turn off, seemingly at the same time. I have tried adding a big GIProbe
object and bake the lights, but I still have the same problem.
Any ideas what might be wrong, and how to solve it? Is there a fundamental problem with my approach?