Cocos Creator 3.5.2 ugly shadows

HI all, I am trying do use shadows in Cocos Creator 3.5.2, but if I set shadow distance 100 (default)
the shadows lookw very ugly, even when I use SOFT and Shadow map size 2048x2048:



When I set shadow distance to 1 they looks ok, but I don’t see shadows when I zoom out camera:


what the case of this and how to make good quality shadows? thanks.

shadowMap and Cascaded Shadow Map Level_1

  • If you want the area to be fixed and only produce high quality shadow effects on the tank, use the Shadow Fixed Area.

    • You can download our official demo to view. “cocos/cocos-test-projects/tree/v3.5/assets/cases/light/shadow-map/shadowMap.scene”
  • If you want the resulting shadow area to follow the camera movement。

    • You can download our official demo to view. “cocos/cocos-test-projects/tree/v3.5/assets/cases/light/shadow-map/shadowCulling.scene”

You can go to the official documentation to learn more. Learn more

1 Like

There is no problem with your parameter settings, we provide 2 modes of shadow generation range

In v3.6.0 we have improved the Cascaded Shadow Maps, and the shadow quality will be greatly improved if you use the latest version

1 Like