diff --git a/frontend/src/utils/threeRuntime.js b/frontend/src/utils/threeRuntime.js index 8ef2e29..bef63d7 100644 --- a/frontend/src/utils/threeRuntime.js +++ b/frontend/src/utils/threeRuntime.js @@ -7,7 +7,7 @@ import { Color } from 'three/src/math/Color.js'; import { TextureLoader } from 'three/src/loaders/TextureLoader.js'; import { WebGLRenderer } from 'three/src/renderers/WebGLRenderer.js'; import { Scene } from 'three/src/scenes/Scene.js'; -import { sRGBEncoding, ACESFilmicToneMapping } from 'three/src/constants.js'; +import { SRGBColorSpace, ACESFilmicToneMapping } from 'three'; export { AmbientLight, @@ -19,5 +19,5 @@ export { Scene, TextureLoader, WebGLRenderer - ,sRGBEncoding,ACESFilmicToneMapping + ,SRGBColorSpace as sRGBEncoding,ACESFilmicToneMapping };