Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anything shadowed looks too black. #19

Open
Skril4Ek opened this issue Apr 29, 2023 · 1 comment
Open

Anything shadowed looks too black. #19

Skril4Ek opened this issue Apr 29, 2023 · 1 comment

Comments

@Skril4Ek
Copy link

Skril4Ek commented Apr 29, 2023

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)

@Skril4Ek Skril4Ek changed the title Anything shaded looks too black. Anything shadowed looks too black. Apr 29, 2023
@Lexpartizan
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants