Inheritance: Loader →
A loader for the 3DL LUT format.
References:
const loader = new LUT3dlLoader();
const map = loader.loadAsync( 'luts/Presetpro-Cinematic.3dl' );
LUT3dlLoader is an addon, and must be imported explicitly, see Installation#Addons.
import { LUT3dlLoader } from 'three/addons/loaders/LUT3dlLoader.js';
Constructs a new 3DL LUT loader.
manager
The loading manager.
The texture type.
Default is UnsignedByteType.
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
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.
Sets the texture type.
type
The texture type to set.
Returns: A reference to this loader.