Problem with shadows

Way I can see the shadow here (revision 97) but cannot see it here (revision 112)?

The only difference is the version and on line 104 geometry.addAttribute is now geometry.setAttribute.

I’m also having trouble with shadows in version 110-112 that I didn’t have in 104.

Due to the changes in the versions we should lower the AmbientLight's intensity in order to see the shadow.

Changing line 24 from: new AmbientLight(0xffffff), to new AmbientLight(0xffffff, 0.3), fixed this issue.

1 Like