0 votes

Hello, I didn't work with lights previously and I'm trying to figure out what this even could be.
First I had a problem when I put a OmniLight too close to a wall, it shines through a mesh which stands in the middle.
Light goes through a mesh when close to a wall
I found a workaround - scale everything up, because I make models like realsize. But it seems like a bad solution, I'm trying to figure out what the problem is.

The second problem I have is similar, but may have a different reason.
Light goes through mesh again, but smoothly
Here the OmniLight goes through mesh again, but in a different way. I checked the mesh for holes, because it looks like there may be a hole at the center of the cable. There was a hole, initially, but then I filled it in Blender and replaced the obj file and recreated the MeshInstance to make sure the model got refreshed.

But the problem remained. I guess I'm missing something?
I forgot to mention, I tried all the settings of OmniLight node, none solved what I'm showing.

Godot version 3.4.4.stable
in Engine by (46 points)

I'm also experiencing these issues. Enabling shadows made things better, but that's if you want shadows

This is with shadows already ¯_(ツ)_/¯
There are shadows of monitor and other stuff except hole in the middle.

1 Answer

0 votes

So, after a week of distress I decided to try and recreate this in a new scene, because sometimes it helps to figure out what was wrong. I couldn't recreate it! Everything was fine!

So it seems I messed something up with this scene. Maybe the scale was too low or test meshes was bad. Anyway the problem was local and seem to be solved with a new scene.

by (46 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.