CubeMap (SkyBox)

Skybox_example

CubeMap Creation

cubemap_create

First, you need to create a cubemap texture. You can do this by clicking the Create/CubeMap button. Then, you need six textures, one for each side of the cubemap.

cubemap_import

Set up a texture for each side of the cubemap. Changes will be applied immediately, and you can see them in the preview.

Warning

All slices should be POT textures (Power of Two) and have the same resolution.

Note

The generateMipLevels option is useless for cubemaps. The skybox shader doesn’t use mip levels.

SkyBox Material

skybox_material

Create a new material (Create/Material) with the sky_box shader. Set your cubemap texture as a cubemap texture (slot 0).

Rotate the preview to check that everything is correct.

Now you can use this material as a skybox in the render settings.