Cube map and sky boxes

Blitz3D Forums/Blitz3D Beginners Area/Cube map and sky boxes

A skybox is a 6 sided shape (cube) with a different texture on each face. typically a cube, with it's normals flipped, it provides a static (usually, very far away) representation of your game world. It save you having to model the far away geometry.

A cubemap is a special texture, that wraps all around a mesh. Depending on the cubemap mode you set, it will either remain static, or adjust it's position to provide a reflection type texture.

It's basically impossible to do certain effects in blitz without a cubemap. You can update your cubemap by rendering from the mesh it textures location. You render FRONT BACK LEFT RIGHT UP and DOWN seperately and copy this render to the relevant cube face. This would provide you with real time reflection.

At a cost i might add, as rendering and copying 6 textures is fairly slow, depending on the size of them of course.