lut()v4.0.526
Part of the @remotion/effects package.
Applies an inline 3D color lookup table in the .cube format.
Preview
Drag current effect onto a layer in the Studio
Example
MyComp.tsximport {lut } from '@remotion/effects/lut'; import {Video } from '@remotion/media'; export constMyComp :React .FC = () => { return ( <Video src ="https://remotion.media/video.mp4"effects ={[lut ({content : ` TITLE "Warm" LUT_3D_SIZE 2 0 0 0 1 0.1 0 0 0.9 0.1 1 0.9 0.1 0 0.1 0.8 1 0.2 0.7 0 0.9 0.8 1 0.9 0.8 ` }) ]} /> ); };
Supported Cube format
lut() supports 3D .cube files with:
LUT_3D_SIZE, with a size from2to256TITLEDOMAIN_MINandDOMAIN_MAX- Empty lines and
#comments
The content must contain the cube of LUT_3D_SIZE color rows. 1D LUTs are not supported.
API
content
The complete .cube file as a string. Inline the content in your source code or import it as text using your bundler.
disabled?
When true, the effect is skipped. Defaults to false.
Compatibility
| Browsers | Environments | |||||
|---|---|---|---|---|---|---|
Chrome | Firefox | Safari | ||||