Godot Version
Godot 4.4 stable
Question
Hey everybody! I am trying to make a flashlight for my game and I’ve encountered an issue where the lights (omni-light and spotlight) wouldn’t render properly on my meshes. I’ve tried CSG shapes, Mesh instances, and Blender Obj’s & GLB’s, and they all have produced the same result. I’ve also tried changing the material but I also got the same result. I am using forward+ rendering, my lights have shadows enabled, I’ve tried to search for a solution but have yet to come across one. What confuses me the most is that the directional light doesn’t seem to have this problem.
THE PROBLEM:
The light only gets displayed on one triangle face of the csg box depending on my distance from the object (so it lights up properly in rare cases). The video shows me using a spotlight to try to light up the box.
Link to the video: https://youtu.be/eilUGSnBHS4