void rebakeNow(RenderManager renderManager) {
        IBLHybridEnvBakerLight baker = new IBLGLEnvBakerLight(renderManager, assetManager, Format.RGB16F,
                Format.Depth,
                        envMapSize, envMapSize);
                    
        baker.setTexturePulling(isRequiredSavableResults());
        baker.bakeEnvironment(spatial, getPosition(), frustumNear, frustumFar, filter);
        baker.bakeSpecularIBL();
        baker.bakeSphericalHarmonicsCoefficients();

        setPrefilteredMap(baker.getSpecularIBL());

        int[] mipSizes = getPrefilteredEnvMap().getImage().getMipMapSizes();
        setNbMipMaps(mipSizes != null ? mipSizes.length : 1);

        setShCoeffs(baker.getSphericalHarmonicsCoefficients());
        setPosition(Vector3f.ZERO);
        setReady(true);

        baker.clean();
    }
Sets the asset manager used to load the shaders needed for the baking.

@param assetManager the asset manager
jme3-core/src/main/java/com/jme3/environment/EnvironmentProbeControl.java