You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently in the beta build the shadow-masks are rendered incorrectly. Here I have the shadowmask mode set to Replace and you can clearly see the distance at which it switches to the shadow mask and there's a shadowed line.
Here it is with the shadowmask mode set to None
And with the shadowmask mode set to Overlay (notice how much brighter the people are, as they're lit dynamically and not with the lightmap)
and finally what it should look like (and what it looks like in the editor or when exported as an android build):
shadowmask mode set to Overlay in android build
Hopefully this is possible to fix, shadowmasks are incredibly useful for web builds where performance is paramount.
Steps to reproduce
Create a scene with lightmap GI and the shadowmask mode set to replace or overlay and notice the broken shadows.
Minimal reproduction project (MRP)
Here's a simple MRP with the same behavior shown (shadowmasks broken only on web builds):
Tested versions
Godot v4.4.beta1
System information
Godot v4.4.beta1 - Manjaro Linux #1 SMP PREEMPT_DYNAMIC Thu, 02 Jan 2025 10:28:29 +0000 on X11 - X11 display driver, Multi-window, 1 monitor - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 3060 (nvidia) - AMD Ryzen 9 9900X 12-Core Processor (24 threads)
Issue description
Currently in the beta build the shadow-masks are rendered incorrectly. Here I have the shadowmask mode set to Replace and you can clearly see the distance at which it switches to the shadow mask and there's a shadowed line.
Here it is with the shadowmask mode set to None
And with the shadowmask mode set to Overlay (notice how much brighter the people are, as they're lit dynamically and not with the lightmap)
and finally what it should look like (and what it looks like in the editor or when exported as an android build):
shadowmask mode set to Overlay in android build
Hopefully this is possible to fix, shadowmasks are incredibly useful for web builds where performance is paramount.
Steps to reproduce
Create a scene with lightmap GI and the shadowmask mode set to replace or overlay and notice the broken shadows.
Minimal reproduction project (MRP)
Here's a simple MRP with the same behavior shown (shadowmasks broken only on web builds):
shadowmask-test.zip
The text was updated successfully, but these errors were encountered: