Skybox from DDS cubemap

Creating and exporting the cubemap In this tutorial we are going to use Spacescape (1). It's free, powerful and easy to use. It also comes with some presets! Open the program. After creating your s...

Updated over 4 years ago Edit Page Revisions

Creating and exporting the cubemap

In this tutorial we are going to use Spacescape (1). It's free, powerful and easy to use. It also comes with some presets!

Open the program.

File:image.png

After creating your skybox, click on File > Export skybox.

File:image2.png

Choose your save location, file name. Set the file type to "Single DDS Cube Map (*.dds)". The image size depends on how high resolution you want the skybox to be(or how large your map is). Finally, export for SOURCE. Ironically, it is the only option that works. The UNREAL option exports some images in the wrong orientation and your skybox ain't going to look well unless you are willing to fiddle around with it manually (bad choice).

File:image3.png

Proceeding inside the engine

The time has come to open the engine and import your file! After some time (less than 1 minute for me), the file sould have been imported.

Open the file in the editor and set:

"Compression Settings" > "UserInterface2D (RGBA)" "Mip Gen Settings" > "NoMipmaps" "Texture Group" > "Skybox"

Finall, you may need to untick the sRGB checkbox.

File:image4.png

Create a new material. Set the Shading model to Unlit and make sure it is Two Sided.

File:image5.png

The material setup is only 3 nodes and looks like this:

File:image6.jpg

Create a new actor. Make the Root Component a Static Mesh. Disable gravity, collision. On the static mesh picker, go on View Options and tick Show Engine Content.

File:image7.png

Choose SM_SkySphere. Any of the two will do. The one has just about a hundred triangles more than the other.

File:image8.png

Then, just do this:

File:image9.png

Drag and drop it inside your level and set the material.

File:image10.jpg

This is it!