useLoader() throws TypeError: Failed to parse URL from /lut/F-6800-STD.cube
Unanswered
Brown bear posted this in #help-forum
Brown bearOP
Hi everyone
I was recreating the setup for the prism sample https://codesandbox.io/p/sandbox/nextjs-prism-j3ycvl using next js and it turns out that the framework is having a hard time to parsing the .cube file
Any solution for this matter? I recreated the sample using vite framework and everything works fine there.
Regards Miguel G
I was recreating the setup for the prism sample https://codesandbox.io/p/sandbox/nextjs-prism-j3ycvl using next js and it turns out that the framework is having a hard time to parsing the .cube file
export default function App() {
const texture = useLoader( LUTCubeLoader, "/lut/F-6800-STD.cube" );
return ...
}Any solution for this matter? I recreated the sample using vite framework and everything works fine there.
Regards Miguel G