-
-
Couldn't load subscription status.
- Fork 120
Description
Tried using recent THREE release (r149), and got the following error:
WARNING in ./node_modules/mathbox/build/esm/render/buffer/texture/datatexture.js 57:12-27 export 'RGBFormat' (imported as 'CONST') was not found in 'three' (possible exports: ACESFilmicToneMapping, ...
Per THREE r137, RGBFormat is removed:
Texture
Remove RGBFormat. mrdoob/three.js#23228, mrdoob/three.js#23201, mrdoob/three.js#23205, mrdoob/three.js#23211, mrdoob/three.js#23223, mrdoob/three.js#23218, mrdoob/three.js#23219, mrdoob/three.js#23367 (@Mugen87)
As this is only used in 1 class, a simple fix could be to just replace it with RGBAFormat, per this recommendation.