How to use a skybox? (

Well, after I saw that example for a SkySphere in the effects testeverything,

I really wonder how to create a Skybox?

just replacing the sphere with a box and settings the SphereMap to false did nto do the trick.

      Box sky = new Box(new Vector3f(0,0,0),1,1,1);
      skyGeom = new Geometry("Sky", sky);
      Texture envMap = Core.getManager().loadTexture(
            "Textures/Sky/St Peters/StPeters.jpg");

      Material skyMat = new Material(Core.getManager(),
      skyMat.setBoolean("m_SphereMap", false);
      skyMat.setTexture("m_Texture", envMap);
      skyMat.setVector3("m_NormalScale", new Vector3f(-1, 1, -1));


That's because the StPeters texture is a sphere map, not a cube map, so setting the material parameter m_SphereMap to false isn't going to help.

You need to create a cubemap, and then set it as texture. Then it will work.

Also, the actual shape used doesn't matter: you can use a cubemap with a sphere, or a spheremap with a box. The only thing that matters is the normals being smooth across the shape. But for the Box shape, the normals are not smooth, so you cannot use it with cubemaps.