Three/R168/Logluvloader To UltraHDRLoader

1.0.0Last update Sep 6, 2024
by@yugal41735

This codemod removes LogLuvLoader, and replaces it with UltraHDRLoader

Example

Before

import { LogLuvLoade } from "three/examples/jsm/loaders/LogLuvLoader.js";

After

import { UltraHDRLoader } from "three/examples/jsm/loaders/UltraHDRLoader.js";

Before

export * from "./loaders/UltraHDRLoader.js";

After

export * from "./loadersLogLuvLoader.js";

Before

case 'logluv': return new LogLuvLoader(this.loadingManager);

After

case 'logluv': return new UltraHDRLoader(this.loadingManager);

Build custom codemods

Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community

background illustrationGet Started Now