Shadows don't appear

Hi community,

I’m trying to test three.js but i don’t success with shadows.

Why i don’t see them ?

My codepen is well true no ?

Thanks :sunny:

In the linked Codepen it seems that you got it working right? The cube casts a shadow and the floor receives it.

Yes thanks, sorry i have found the solution and forgot to solve the post.