Everything is pitch-black in-game

Everything is pitch-black in-game even though I already have a WorldEnvironment3D, Environment, Sky, and DirectionalLight3D, and it all looks normal in the editor view. This also just began all of a sudden, it was normal before, and I don’t know if I accidentally did something.

Editor:

In-game:

Does that scene have an ‘WorldEnvironment’ ? WorldEnvironment — Godot Engine (stable) documentation in English

edit: Post what your inspector settings look there

Yes.

Try adding a directional light to act as the sun

It already has directional light.

Could that light be set to negative perhaps?

Do you have an AMD gpu? if then the solve is Graphics freak out on AMD cards

Nope

No

What does your level’s scene tree look like?

Just as a note, I’m new to Godot, so don’t be surprised if it looks a bit impractical.

Put the WorldEnvironment and DirectionalLight3D nodes as direct children of the MAIN SCENE node.

They are.

1 Like

Huh. Ok. They do not appear to be. In that case, I would recommend creating a new test level, adding the default WorldEnvironment and DirectionalLight3D and seeing if that shows up. I suspect it will not, but it will confirm you didn’t bump any settings.

Re-reading your initial post, I see this came on suddenly. My guess would be you updated your videocard drivers - or they automatically updated for you.

If you are on Windows, I would change your renderer to Direct3D. That will likely fix the problem.

1 Like

Turns out that there was some weird problem I wasn’t able to find out with the DirectionalLight3D. Maybe it was some accidentally set property. I replaced it with a new one and it fixed it.

2 Likes

Did you ever check if it was set to negative

When I checked, I didn’t really see any negative values.

Not negative values. There is a check box that when checked will remove light from everything that light is shining on, that chebox is named negative. If removing the light fixed it that could’ve been the issue

Oh yeah that wasn’t enabled either. If it were enabled, it would have shown in the editor view.

1 Like

Okidoki. Then I’m not quite sure what the issue was

1 Like