Lexpartizan/Godot_sky_shader

Anything shadowed looks too black.

Opened this issue · 1 comments

Sorry, if the question is a bit “nooby”, but why anything that isn't directly hit by sunlight look too black (not cast shadows that can be turned off in DirectionalLight settings, but own shadows like shadowed sides of CSGBoxes) with PanoramaSky unlike ProceduralSky and how to fix it? Godot 3.5.
Снимок экрана (297)

Снимок экрана (296)

Sorry, if the question is a bit “nooby”, but why anything that isn't directly hit by sunlight look too black

hi! Sorry for the late answer.
Previously, this was not the case, but this is due to the fact that the engine does not make the cubemap itself for reflections and considers the sky to be black. Therefore, it is necessary to use the reflection_update function.
You can uncomment line 173 in the sky.tscn script and move the time slider to change the time and cause the cubemap to update. But this is a very expensive process and should be called very rarely.