Why does glb model get wrong shadow from spotLight with map texture?

Hi, I added a blue cube, and a glb bird model and a SpotLight with a texture map. The blue cube get right shadow while the bird model does not. Can anyone tell me why this happen? Here is my codesandbox example.https://codesandbox.io/s/threejs-playground-forked-fucd7c

Add .receiveShadow=true to the bird mesh.

Hi Harold, thanks for your reply. I have set mesh.receiveShadow, it does`t work.

I have solved this problem. Thats because I didnt call mesh.computeVertexNormals. After I did that, it works.

1 Like