I was doing a Three js tutorial and this code should cast shadows, but when render shadows does not exists over the plane.
What is wrong on code? I\'m reading documentat
three.js r.74 and r.75 have a bug in which shadows are not always rendered in the first call to render(). This bug has been fixed in three.js r.76dev.
render()
Your work-around is to call renderer.render( scene, camera ) a 2nd time, or to have an animation loop.
renderer.render( scene, camera )
three.js r.75