Reputation: 432
So I have looked over all the other shadow issues on here, and none of them seemed relevant to mine, or I just overlooked it about 10 times.
https://gist.github.com/Sinistralis/58249d2f9aefa8f08a7d
I would make a fiddle for this, but the version they host seems incompatible with either my code or the current version of chrome. I could not get it to work even after changing .merge and BoxGeometry back to GeometryUtils and CudeGeometry respectively.
Basically, I am getting 0 shadows using threejs v .71
I have all the cast booleans set, the scene is within my shadowmap, and I am using a correct light type. Why am I not getting shadows?
Upvotes: 0
Views: 304
Reputation: 104763
This is not going to be very helpful to other users, unfortunately...
The proper spelling is receive.
floor.receiveShadow = true;
city.receiveShadow = true;
Also, have a look at this post about self-shadowing artifacts.
three.js r.71
Upvotes: 1