WebGL shadows problem

Hi everybody, i have problem with shadows, when i build my project for webGL.
Shadows look great in the editor, but after build, and run looks horrible.

Screenshot_1 is from editor

Screenshot_2 is from webGL

Anybody knows what i’m doing wrong?


WebGL is limited to OpenGL ES 2.0 aka the stuff that runs on old mobile devices.
You can improve the shadow quality a bit in the Quality Settings of your project but it is not going to be a nice as in the editor.

WebGL 2.0 is based on ES 3.0 which offers more in that regard but it is still going be quite a while for that to manifest in released browsers.