Reputation: 408
I've combined a couple of the examples from the three.js documentation and also added mesh.castShadow = true
on the generated meshes from the Glitch post-processing example. However, if you look at the jsfiddle below, you can see that all of the shadows are converging in the middle. I would maybe expect this from the hemisphere lighting, however, hemisphere lighting doesn't cast shadows. Any ideas?
The jsfiddle can be found here
Upvotes: 0
Views: 51
Reputation: 12642
You have a very narrow shadow camera. Try changing your d
to 500. Also your directional light is positioned within your objects.
Upvotes: 1