Hi everyone,
This is my first time using three.js as I’m following a tutorial from 2020.
I’m using React and it gives me a bunch of errors saying:
export 'RGBEFormat' (imported as 'RGBEFormat') was not found in 'three'
export 'RGBEEncoding' (imported as 'RGBEEncoding') was not found in 'three'
I understand that I installed Three.js version 136 and RGBEFormat & RGBEEncoding have been removed from 136.
I followed this answer from Stackoverflow: reactjs - Import Error with @react-three/fiber / @react-three/drei - Stack Overflow
→ Changed "three": "^0.136.0"
in my React package.json to "^0.135.0"
but it didn’t solve the error.
I’m I doing this right?
Please help me fix this, thank you guys so much!