Color Grading with LUTs in Unreal Engine and Unity
How colour grading LUTs work, the strip sizes Unreal and Unity URP expect, the import settings that matter, and a workflow from screenshot to final look.
In this article
Two games can use the same assets and lighting and still feel completely different: one warm and nostalgic, the other cold and tense. Much of that difference is colour grading, and the simplest way to ship a fixed grade in Unreal Engine or Unity is a LUT.
What a LUT is
A lookup table (LUT) answers one question for every colour on screen: what should this colour become? A 3D LUT stores the answer for a grid of input colours, for example 16 steps of red × 16 of green × 16 of blue. The GPU looks up each pixel's colour in that grid and blends between the nearest entries.
Because the whole grade is baked into a table, a LUT can hold any combination of exposure, contrast, saturation, hue shifts and split toning, and it costs almost nothing at runtime.
The strip format
Engines store the 3D grid as a flat 2D strip: one square slice for each blue step, placed side by side. Inside each slice, red increases from left to right and green from top to bottom (in Unreal). A neutral LUT, one that changes nothing, looks like a row of squares fading from black to red, green and yellow, getting bluer towards the right.
LUTs in Unreal Engine
| Setting | Value |
|---|---|
| Size | 16×16×16, as a 256×16 texture |
| Mip Gen Settings | NoMipmaps |
| Texture Group | Color Lookup Table |
| Where | Post Process Volume → Color Grading → Color Grading LUT |
| Strength | Color Grading LUT Intensity |
Unreal applies the LUT to the final, low dynamic range image, the sRGB colours that go to the monitor. Epic's documentation recommends the built-in Color Grading controls (saturation, contrast, gamma and gain for shadows, midtones and highlights) for most work, because they run in HDR before tonemapping and stay consistent when lighting changes. A LUT is still useful when you want a fixed stylised look, or when the grade was made in another application.
LUTs in Unity
URP: add a Color Lookup override to a Volume and assign the strip to Lookup Texture. Contribution blends between the original and graded image. The strip's height must match the LUT Size in your URP Asset's post-processing settings:
| URP Asset LUT Size | Strip |
|---|---|
| 32 (default) | 1024×32 |
| 16 | 256×16 |
Import the texture with sRGB (Color Texture) off and Compression: None. Compression and low-precision formats cause banding; some developers also switch the texture format to a higher precision when they see banding in smooth gradients.
Built-in render pipeline: the Post-processing Stack's User LUT used the same strip format, with neutral LUTs at 256×16 and 1024×32.
HDRP is different: its external LUTs are .cube files applied through the Tonemapping override and expect log-encoded input. Unity's HDRP documentation has separate guides for making them in Photoshop or DaVinci Resolve.
Unity's strip is upside down
Unreal reads textures from the top and Unity from the bottom. The strips have the same layout, but green increases downwards in Unreal and upwards in Unity. Use an Unreal LUT in Unity without flipping it and the green channel is effectively inverted: even a neutral LUT will shift colours very visibly. Always export a version per engine.
A simple grading workflow
- Finish lighting and exposure first. The LUT works on the final image, so a change in lighting or tonemapping changes how the grade looks.
- Take a screenshot with no LUT applied, but with your other post-processing on.
- Grade the screenshot. In Photoshop or GIMP the classic method is to paste a neutral LUT into the screenshot, apply adjustment layers to both, then crop the LUT back out. Or do it directly in the browser with the free Color Grading LUT Generator: drop the screenshot in, start from a preset or move the sliders, and compare with a before/after split.
- Export for each engine: 256×16 for Unreal, 1024×32 (or 256×16) for Unity URP.
- Apply it and check in the game, not just the editor viewport. Lower the intensity or contribution if it is too strong.
Borrowing a look from a reference
A quick way to find a mood is to start from a reference: a film still, concept art or a photo. The LUT generator can match your screenshot's average colour and contrast to a reference image (a classic colour transfer technique), then you fine-tune with the sliders. It will not copy a look perfectly, but it is a fast starting point.
Tips for good LUTs
- One look per mood. Use separate LUTs for areas or times of day and blend between Post Process Volumes or Volumes, rather than one extreme LUT for everything.
- Watch the skies. A 16-step LUT has limited precision; very strong curves can band in smooth gradients. Keep strong changes for Unity's 32-step strip or use gentler settings.
- Check skin and UI colours. Teal and orange looks great on landscapes and terrible on faces if pushed too far. Check any UI that is rendered through post-processing too.
- Keep the neutral version. Grade from the neutral screenshot each time instead of stacking LUTs on LUTs.
- Converting
.cubefiles. Many LUT packs come as.cube. If a.cubeis a normal display LUT (input 0–1), you can convert it to an Unreal or Unity strip; log or HDR LUTs made for film workflows will look wrong.
Summary
- A LUT maps every colour to a new colour; engines store it as a strip texture.
- Unreal: 256×16, NoMipmaps, Texture Group Color Lookup Table, Post Process Volume.
- Unity URP: strip height = URP LUT Size (1024×32 by default), sRGB off, no compression, Color Lookup override.
- The Unity strip is flipped vertically compared with Unreal's.
- Grade last, from a screenshot without a LUT, and test in the game.
Frequently asked questions
What is a LUT in game development?
A lookup table that tells the renderer which output colour to use for every input colour. Engines store it as a strip texture and apply it to the whole screen as the last colour step, so one small texture can hold a complete colour grade.
What LUT size does Unreal Engine use?
A 16×16×16 colour cube unwrapped into a 256×16 texture. Set Mip Gen Settings to NoMipmaps and Texture Group to Color Lookup Table after importing it.
What LUT size does Unity URP use?
The strip's height must match the LUT Size in your URP Asset's post-processing settings. With the default size of 32 that is a 1024×32 strip; with 16 it is 256×16.
Can I use the same LUT PNG in Unreal and Unity?
Not as-is. The layout is the same, but green increases downwards in Unreal's strip and upwards in Unity's, so an Unreal LUT used in Unity (or the reverse) shifts the colours. Flip it vertically or export a version for each engine.