code: private void buildSkyBox() 
      {
          _skybox = new Skybox("skybox", 300, 300, 300);
  
          try {
              SimpleResourceLocator sr2 = new SimpleResourceLocator(ExampleBase.class.getClassLoader().getResource("org/poly2tri/examples/geotools/textures/"));
              ResourceLocatorTool.addResourceLocator(ResourceLocatorTool.TYPE_TEXTURE, sr2);
          } catch (final URISyntaxException ex) {
              ex.printStackTrace();
          }
  
          final String dir = "";
          final Texture stars = TextureManager.load(dir + "stars.gif", 
                                                    Texture.MinificationFilter.Trilinear,
                                                    Image.Format.GuessNoCompression, true);
          _skybox.setTexture(Skybox.Face.North, stars);
          _skybox.setTexture(Skybox.Face.West, stars);
          _skybox.setTexture(Skybox.Face.South, stars);
          _skybox.setTexture(Skybox.Face.East, stars);
          _skybox.setTexture(Skybox.Face.Up, stars);
          _skybox.setTexture(Skybox.Face.Down, stars);
          _skybox.getTexture( Skybox.Face.North ).setWrap( WrapMode.Repeat );
          for( Face f : Face.values() )
          {
              FloatBufferData fbd = _skybox.getFace(f).getMeshData().getTextureCoords().get( 0 );
              fbd.getBuffer().clear();
              fbd.getBuffer().put( 0 ).put( 4 );
              fbd.getBuffer().put( 0 ).put( 0 );
              fbd.getBuffer().put( 4 ).put( 0 );
              fbd.getBuffer().put( 4 ).put( 4 );            
          }
          _node.attachChild( _skybox );
      }
docs: Builds the sky box.