Can't add a light to my scene

Hey there,
I am trying to add a light to my scene. I think it’s on the scene as the indicator shows but it doen’t add any shadow in the final render. Can you help me to fix this ?
Thanks :slight_smile:

@Jiraph your light setup is absolutely fine. Only one thing you are using MeshBasicMaterial that does not have any impact of light so change it to light sensitive material like MeshLambertMaterial.

For shadow follow this steps.

renderer.shadowMapEnabled = true

Decide which object cast shadow and which one recieve shadow.

if sphere is going to cast shadow so set

sphere.castShadow = true

or otherwise

sphere.receiveShadow = true

1 Like

Thanks I haven’t saw the light options on materials ! :smiley: