Cube Mapping for Skybox issues

BlitzMax Modules Forums/MiniB3D/Cube Mapping for Skybox issues

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I am creating a skybox using the following process:

1. I create a space-scape (stars, nebulae, etc.), using lots and lots of sprites.

2. I use the example function from the minib3d demo to create a cube map texture.

3. I texture a sphere with the cubemap texture as a skybox.

4. I free all those sprites I no longer need.

The only trouble is, that the sides of the skybox don't line up. I tried setting the camera field of view to 90, or leaving it the default - I setting the viewport to match texture size.

Am I missing something on how cube mapping works? I built something similiar in B3D, except using saveimage. Is there any way to do that in minib3d?