• 3D
  • Weird Lighting?

Hello everyone, I was setting up the lighting in a scene, until I recognized this light-bug:

I only have a directional light outside of the room and that pink-ish light. Nothing more. I also didn't tamper with any settings of the pink light, I only changed the energy.

I did play around in Godot for quite a while and I never really experienced that. I first thought, that it could be, because my device is a bit low in spec, but I had another scene, which had a more complex light setup without such "bug"

I treid creating a new scene and dragging everything into that one without any avail. Then I placed dragged the room and walls a bit in the editor and that seemed to fix the issue, until I started the game.

I don't know what I should try next or why that bug is even there, But I hope that someone out here might know why or what causes this kind of bug and might help me. If so, I'd thank that person in adavnce and of course everyone else, that might want to try to help.

You mean the "light bleed"? Unless you are willing to scale up the wall pieces so they intersect with the floor/ceiling pieces there isn't much you can do about it.

@Megalomaniak said: You mean the "light bleed"? Unless you are willing to scale up the wall pieces so they intersect with the floor/ceiling pieces there isn't much you can do about

Hmm, I did try to scale them, but they already intersect with the floor and ceiling.

How thick are the wall, floor, and ceiling pieces? It could be leaking if the meshes are too thin.

Outside of that, I believe the DirectionalLight node has a setting (bias? normal bias?) that can be adjusted to make shadows cast closer to the edges of meshes, which may fix the issue.

@TwistedTwigleg said: How thick are the wall, floor, and ceiling pieces? It could be leaking if the meshes are too thin.

Outside of that, I believe the DirectionalLight node has a setting (bias? normal bias?) that can be adjusted to make shadows cast closer to the edges of meshes, which may fix the issue.

They are somewhat thin and I didn't think about the bias, I'll try that. I have rebuild that one room in a new scene with the same light setup and everything was as expected in the new scene...

But I'll try the changing the bias.