LookLightweight
Color grading LUT
One color table gives the whole image a look.
One color table applied to the whole image, the way a film gets its look in post-production. Warm shadows, teal highlights, faded blacks, all in a single pass without touching any material.
- Breaks when
- LUT texture must load in the right color space
- Also called
- LUT, 3D LUT, LUTPass, tone mapping
Prompts
Film look for the whole scene
Three.js with a LUTPass (or pmndrs LUT3DEffect): load a 32×32×32 .cube file exported from DaVinci Resolve, apply it after ACES tone mapping, intensity 0.85. Add a keyboard toggle (g) to compare, and a wipe with the pointer x for review. Explain the linear vs sRGB requirement for the LUT texture.
Grade in code, no file
A ShaderPass that grades without a LUT: shadows tinted toward cool, highlights warm, an S-curve on contrast (mix with smoothstep 0.55), blacks lifted to 0.04, saturation 1.1. Expose six uniforms in lil-gui and provide a button that bakes the current settings into a 16×16×16 LUT PNG for later.
Consistent look across sections
Three sections of a page each have a different Three.js scene; unify them with one LUT applied to all three composers, and crossfade to a second LUT (night) over 900 ms when the last section enters. Keep the LUT textures shared, not reloaded per scene.
Related
Resources · 1
- three.js example: 3D LUTmrdoobsite · code · demoJun 15, 2026