SkyBox()

Syntax

Result = SkyBox(TextureName$)
Description
Loads a 6 face cube and creates an artificial box which is far away from the camera but close to the world. This is a very useful function to easily make a closed world. If 'Result' is 0, the SkyBox could not be created. The textures must be in a path previously declared with the Add3DArchive() function. The TextureName$ is the base of the texture's names, which should be named using the following rule:
  TextureName_BK ; BacK face
  TextureName_FR ; FRont face
  TextureName_DN ; DowN face
  TextureName_UP ; UP face
  TextureName_LF ; LeFt face
  TextureName_RT ; RighT face
See also the SkyDome() function.

Supported OS

All

<- ShowGUI() - Engine3D Index - SkyDome() ->