Hello, welcome to the forum. Here is a demo playground scene… with two types of moving lights.
You didn’t say WHICH type of light that YOU are using.
When using directionalLight… it is important to do light.setDirectionToTarget() AFTER moving the light. See line 86.
For pointLight shadows, there is no-need to do that.
I have no spotLights in the scene, but .setDirectionToTarget() would be wise for moved spotlights, too.
I hope this helps. We LIKE playground scenes. They make it easier for forum helpers… to help.
Aside: @Deltakosh (Luaacro?) … notice artifact on one sphere shadow. Likely a precision issue, but perhaps worth noting. Party on!
Where IS Luaacro, anyway? He needs to come visit or tell us his new name. Lurker Lu