Light passing through geometry?

Try this

mesh.castShadow=true;
renderer.physicallyCorrectLights=true;