Rendering out a cubemap for external use?

I’m looking into using UE4 to render a scene into a cubemap for use in another application. Mainly because I’m familiar with the material editor and it’ll allow me to push the rendering of the scene a lot further.

Is it possible to access or otherwise export generated cubemaps into Photoshop or similar?

Hey Skulburn,

It is indeed possible to create, however doing so through UE4 is something I do not think is possible. The documentation I have linked provides you with the information on how to create a cubemap using the tools Epic uses and other tools suggested. It also gives you information on how to import and arrange a cubemap properly, and explains how it is put together.

Documentation

I hope this helps!

Thanks,

You actually can do this, however it will be exported in this weird laid-flat format.

Place actor of type “Scene Capture Cube” on the map, in place where you want shot the cubemap from.

Now, create new asset of type “Cube Render Target” (in “Materials & Textures” menu).

Select the actor you placed on the map and set its “Texture Target” property to the newly created render target asset.

Now right click on the render target and select “Export”.

Unfortunately, the cubemap will be exported in the flattened out stretched format.

Other way, is to place “Scene Capture 2D” with 90degree fov and create regular, 2D render target. Then, you’d have to rotate the capture 2d actor in every face direction and export faces of the cube separately.

This is fantastic for cheap baked reflections on glass for mobile and VR! Thank you!

Once you do this, you can increase the resolution of the capture manually by adjusting the render target properties and setting Size X to a maximum of 2048. Clear and reassign the texture target to recapture at increased resolution. For me this was necessary as anti-aliasing was not in the capture, so using high res to downres in photoshop created a smooth cubemap.