There are certain difficulties in implementation of shadows on webgl. It is possible to look at an example here-> https://webgl-project-toly19.c9.io/index.html I did everything as on webglAcademy, but it turned out incorrectly. P.S. the model of the sphere weighs about 1 MB