Skybox from DDS cubemap - Epic Wiki

# 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.

Image.png

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

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).

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.

Image4.png

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

Image5.png

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

Image6.jpg

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

Image7.png

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

Image8.png

Then, just do this:

Image9.png

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

Image10.jpg

This is it!

Retrieved from "https://wiki.unrealengine.com/index.php?title=Skybox_from_DDS_cubemap&oldid=20736"