@Override
    public void read(JmeImporter im) throws IOException {
        super.read(im);
        InputCapsule ic = im.getCapsule(this);
        shadowRenderer = (SpotLightShadowRenderer) ic.readSavable("shadowRenderer", null);
    }
Sets the light to use to cast shadows.

@param light the SpotLight
jme3-core/src/main/java/com/jme3/shadow/SpotLightShadowFilter.java