Godot Version
Godot 4.7 (Steam)
Question
I’m working on a Forward+ 3D scene for a top-down game, and I’m experiencing issues where in seemingly random instances in a scene shadows (not the lights themselves) will randomly appear and disappear. You can see a video here: https://www.reddit.com/r/godot/comments/1xcxdxg/weird_shadow_flickering_how_to_fix/
Here’s what I’ve tried:
- Increasing the positional shadow atlas size and increasing the amount of shadows per quadrant
- Making sure vram was being properly freed before switching to the scene
- Adding distance fade to some to the omni lights in the scene (all lights in the scene are those)
Let me know if you need more information. I’ve tested this on two devices; my laptop and my more powerful desktop. It seems to only happen on the laptop, but I don’t think I’m hitting limits that would cause this. It doesn’t seem to happen if I load into the scene directly from the editor, but if I progress through my game normally (this is the second level and occurs after one before it) it does.