Using Cubemaps

How to utilize cubemaps once you have imported them into the engine.


This document goes over how to use Cubemaps once you have imported them into Unreal Engine 4 (UE4).

Using Cubemaps

There are multiple ways to apply Cubemaps in UE4. Two popular uses are via Ambient Cubemaps and Cubemaps within Materials.

Ambient Cubemaps

The Ambient Cubemap is only intended to be used for a subtle directional ambient term (useful in games with completely dynamic lighting), or for model viewer applications.

Because light comes from many directions, we cannot simply use shadow maps for this light type. SSAO is applied to get contact shadows from nearby geometry (see Ambient Occlusion ).

The show flag "Lighting Image Based Lighting" can be used to toggle the rendering of Ambient Cubemaps.

Ambient Cubemap AmbientCubemapTexture.png

  • In this image, a Cubemap image has been automatically laid out into a "Longlat" format.

  • The Cubemap in this image is derived from a light probe by Paul Debevec .



Cubemap Texture

The Cubemap used for ambient lighting. The texture should be created by importing a .HDR image in the Longitude/Latitude sphere unwrapping format. UE4 automatically precomputes blurry versions of the texture and stores the result in one Cubemap Texture. The lower resolution Mips of the texture store the diffuse pre convolved version of the HDR environment.


A scaling factor for the brightness of the effect. Possible uses: brightness tweak existing Cubemaps.


A filter color to apply to the Cubemaps. Possible uses: colorize existing Cubemaps, animate a sky color change.

Select Skin
Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback