feklee
feklee

Reputation: 7705

Shadows in Three.js's Canvas renderer?

As of r49, Three.js does not support shadows in the Canvas renderer, right?

What I need is a shadow directly below an object, like if the light source was at infinite y (approximately sun at noon).

Upvotes: 0

Views: 596

Answers (1)

mrdoob
mrdoob

Reputation: 19602

You can duplicate the object, set the scale.y to 0.001 and use a black color for the material :)

Upvotes: 1

Related Questions