Search Issue Tracker
Active
Votes
7
Found in
2020.1.0a4
2020.1.0b5
2020.2
Issue ID
1240932
Regression
Yes
[WebGL] shadows with soft shadows setting enabled have pixelated edges in WebGL build
How to reproduce:
1. Open the project from the attached file "1240932.zip"
2. In the Hierarchy select "Directional Light" GameObject and in the Inspector set Shadow Type to Soft Shadows
3. Go to File -> Build and Run
4. Inspect the shadow in the WebGL build
Expected result: shadow has smooth edges
Actual result: shadow edges are pixelated
Reproducible with: 2020.1.0a4, 2020.1.0b8, 2020.2.0a9
Not reproducible with: 2018.4.22f1, 2019.3.12f1, 2020.1.0a3
Notes:
- Not reproducible on Windows or Mac builds
- Reproducible on Built-in pipeline and URP
- Tested with these URP versions: 4.10.0-preview, 7.0.1, 7.1.8, 7.3.1, 8.0.1, 8.1.0, 9.0.0-preview.14
- Default quality settings are the same for Windows and WebGL
-
Sycoforge
Jan 11, 2021 15:55
Not fixed in 2020.2. Any news on this?
-
pawelzukowicz
Jan 07, 2021 19:06
This bug is still in 2020.2f1 !
-
Steinberg
Nov 24, 2020 08:44
works in 2021.1.0a6 Alpha. Waiting for a stable release.
-
Sycoforge
Nov 14, 2020 16:55
Can we expect a backport to 2020.1 soon? There's zero value to have this fix in an alpha version only.
-
Tylerdjo
Oct 28, 2020 11:28
Curious to see if there is any further progress on this. I am still getting the problem in webgl builds produced with 2020.1.4f1 and 2020.2.0b8.
-
pod3
Sep 03, 2020 09:00
Hello, it's solved for me. I was just using the wrong pipeline asset (high instead of medium). The WebGL build only uses the medium asset by default and there the shadows werent set to soft.
-
pod3
Sep 02, 2020 16:57
Hi there. Has there been any progress on this issue? I'm experiencing the same with a webgl build out of 2020.1.0b7. Is there a later release i can Upgrade to, that doesn't have this problem? Cheers
-
Arnage_nl
Jul 27, 2020 13:41
Just wanted to report that this is still the case in the release version of 2020.1.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shadows are not cast when you first Blit the Shadow map and then set it back to Buffer
- Changes to instanced detail mesh material don't immediately apply
- [uGUI] Vertices retrieved from GetUIVertexStream method cannot be modified when adjusting them through script
- Scroll bar scrolls less in the Package Manager packages than elsewhere when pressing on the empty scroll bar area to scroll
- Undo.RegisterCreatedObjectUndo dirties the scene, but no actual changes to Scene are made
Resolution Note (fix version 2020.2):
WebGL 2 has mixed support for depth texture interpolation, as used by soft shadow filtering. I added a work-around to allow soft shadows to work.
Fixed in 2021.1.0a1