@Deprecated
    public static Spatial createSky(AssetManager assetManager, Texture texture, boolean sphereMap) {
        return createSky(assetManager, texture, Vector3f.UNIT_XYZ,
                sphereMap ? EnvMapType.SphereMap : EnvMapType.CubeMap);
    }
Create a sky using the given cubemap or spheremap texture.

@param assetManager from which to load materials
@param texture to use
@param sphereMap determines how the texture is used:<br>
<ul>
<li>true: The texture is a Texture2D with the pixels arranged for
<a href="http://en.wikipedia.org/wiki/Sphere_mapping">sphere
mapping</a>.</li>
<li>false: The texture is either a TextureCubeMap or Texture2D. If it is
a Texture2D then the image is taken from it and is inserted into a
TextureCubeMap</li>
</ul>
@return a new spatial representing the sky, ready to be attached to the
scene graph
@deprecated use {@link SkyFactory#createSky(com.jme3.asset.AssetManager, com.jme3.texture.Texture,
com.jme3.math.Vector3f, com.jme3.util.SkyFactory.EnvMapType)}
jme3-core/src/main/java/com/jme3/util/SkyFactory.java