//bgNode.attachChild(sky);
sphere.updateModelBound();
sphere.setQueueBucket(Bucket.Sky);
Material sky = new Material(assetManager, "Common/MatDefs/Misc/Sky.j3md");
TextureKey key = new TextureKey("Textures/Sky/Stars.dds", true);
key.setGenerateMips(true);
key.setAsCube(true);
Texture tex = assetManager.loadTexture(key);
sky.setTexture("m_Texture", tex);
sky.setVector3("m_NormalScale", Vector3f.UNIT_XYZ);
sphere.setMaterial(sky);
sphere.setCullHint(Spatial.CullHint.Never);