private void init(int shadowMapSize) {
        shadowCam = new Camera(shadowMapSize, shadowMapSize);
        for (int i = 0; i < points.length; i++) {
            points[i] = new Vector3f();
        }
    }
Create a SpotLightShadowRenderer This use standard shadow mapping

@param assetManager the application asset manager
@param shadowMapSize the size of the rendered shadowmaps (512,1024,2048,
etc...) The more quality, the fewer fps.
jme3-core/src/main/java/com/jme3/shadow/SpotLightShadowRenderer.java