Poor quality WebGL shadows, sawtooths-like

Hi

I’m new to Unity. I’ve created the first 3D game following a Unity tutorial.
There is a problem with shadows in WebGL. They are “sawtooth”-like.
Shadows in Unity editor or MacOS build look good.
Could you suggest how to fix the issue?

WebGL: My first Roll-a-ball game

Unity editor:

I tried to switch between “MacOS” and “Web” building profiles and check Project settings. It’s Unity 6. The settings are always the same.
Project settings:


1 Like