three.js shadow cutoff

后端 未结 1 1776
太阳男子
太阳男子 2021-02-15 13:54

As the title says. When i render the current scene everything works fine. Only the shadow of the white monkey gets cut off. How can this happen, and is there a resolution for it

相关标签:
1条回答
  • 2021-02-15 14:22

    just use THREE.SpotLight instead.

    Just put on shadowCameraVisible = true; to see the light and it will work. Offcourse you are required to set the position position.set(x, y, z);

    0 讨论(0)
提交回复
热议问题