I tried this:
dae.castShadow = true;
dae.receiveShadow = true;
scene.add(dae);
//spotLight is defined already.
spotLight.castShadow = true;
renderer.shadowMapEnabled = true;
But the model still does not have shadows? Did I do anything wrong? Please help.