📄 threejs/Addons/Loaders/LUT3dlLoader

File: LUT3dlLoader.md | Updated: 11/15/2025


title: LUT3dlLoader category: Addons layout: docs

LUT3dlLoader

A loader for the 3DL LUT format.

References:

Code Example

const loader = new LUT3dlLoader();
const map = loader.loadAsync( 'luts/Presetpro-Cinematic.3dl' );

Import

LUT3dlLoader is an addon, and must be imported explicitly, see Installation#Addons.

import { LUT3dlLoader } from 'three/addons/loaders/LUT3dlLoader.js';

Constructor

new LUT3dlLoader( manager : LoadingManager )

Constructs a new 3DL LUT loader.

manager | The loading manager.
---|---

Classes

LUT3dlLoader

Properties

.type : UnsignedByteType | FloatType

The texture type.

Default is UnsignedByteType.

Methods

.load( url : string, onLoad : function, onProgress : onProgressCallback, onError : onErrorCallback )

Starts loading from the given URL and passes the loaded 3DL LUT asset to the onLoad() callback.

url | The path/URL of the file to be loaded. This can also be a data URI.
---|---
onLoad | Executed when the loading process has been finished.
onProgress | Executed while the loading is in progress.
onError | Executed when errors occur.

Overrides: Loader#load

.parse( input : string ) : Object

Parses the given 3DL LUT data and returns the resulting 3D data texture.

input | The raw 3DL LUT data as a string.
---|---

Overrides: Loader#parse

Returns: The parsed 3DL LUT.

.setType( type : UnsignedByteType | FloatType ) : LUT3dlLoader

Sets the texture type.

type | The texture type to set.
---|---

Returns: A reference to this loader.

Source

examples/jsm/loaders/LUT3dlLoader.js