Closed SkanerSoft closed 3 years ago
It looks like https://github.com/godotengine/godot/pull/41629 isn't applying to GridMaps?
cc @JFonS
Also, I noticed that when turning off Shadows to Directional Light, the GridMap objects start to flicker on my device. No errors or warnings, just flickering. When the shadows are turned on, the flickering disappears, but the GridMap objects become too dark where the shadow falls on them, as they receive it.
Also, when you're using the All bake mode for a given light, you're kind of giving up on using shadows for dynamic objects. This is a difficult-to-solve problem that should be discussed in a proposal.
If you want to keep shadows for dynamic objects, a good compromise is to use the Indirect bake mode for your DirectionalLight and the All bake mode for everything else. This is similar to what games like CS:GO do. Alternatively, set up a blob shadow system for your dynamic objects so they can still feel "grounded" somehow.
Also, when you're using the All bake mode for a given light, you're kind of giving up on using shadows for dynamic objects @Calinou
Sorry, I meant shading objects, not just shadows) It's just that the GridMap becomes too light when the light source is turned on, since it is both baked and receives light. And if you turn off the shadows, then on my Android objects start to flicker. I attached the video above.
Also, when you're using the All bake mode for a given light, you're kind of giving up on using shadows for dynamic objects. This is a difficult-to-solve problem that should be discussed in a proposal.
Isnt shadowmasking and distance shadowmasking the exact solution to this problem, granted it would need to be added to godot, So i guess that would make a good proposal.
Isnt shadowmasking and distance shadowmasking the exact solution to this problem, granted it would need to be added to godot, So i guess that would make a good proposal.
It is, but I doubt it'll be implemented in Godot anytime soon given the added complexity.
Edit: See also https://github.com/godotengine/godot-proposals/issues/2354.
Still wrong in RC 3.
Fixed by #46590.
Godot version: 3.2.4 RC 2
OS/device including version: Develop in Windows, Run in Android
Issue description: GridMap objects react to both lighting and baked shadows, creating image imbalance and difficulty adjusting shadows. Feels like they are baked and dynamically receive shade at the same time.
Steps to reproduce:
My simple project
Full Scene
Settings for MeshLib objects
Settings for regular objects
My GridMap node
Settings DirectionalLight
Settings for BackedLightmap
GridMap behavior when setting lighting AFTER baking
Minimal reproduction project: shadows_test.zip