im trying to use LUTs in three.js, which requires a three.js addon, which is in the form of an import. Each time i try to import anything, i get this error.
Which is strange because i thought im doing it the way three.js wants you to…I should also mention that these imports have other imports within them. I dont exactly know why, or why those need to be imported into each one (i dont use javascript), but however gdevelop is laid out, it doesnt work.
So, whats the best way i can implement LUTs into this 3D GDevelop game?
Please can you share your current code?
it seems to be like, anything that uses import.
Those errors come from the Dependancies>extra source files of an extension.
Those three.js files can be found on the internet here: threejs-sandbox/3d-lut at master · gkjohnson/threejs-sandbox · GitHub
My bad, i didnt show everything i shouldve for the context
I couldn’t get it to work. I tried bundling the code so that I don’t use imports but seems the bundler left some. Did you make a breakthrough?
no…ive just been working on other things