Dependencies
- Pin your three.js version. Its API deprecates things continuously — known examples:
- the
RoomEnvironmentconstructor dropped itsrendererargument around r150; - r180 deprecated
RGBELoaderin favour ofHDRLoader(the old class still loads, but warns); - r185 deprecated
PCFSoftShadowMap, which now silently falls back toPCFShadowMap; - colour-space and tone-mapping defaults have changed more than once.
- the
- After a three.js upgrade you must check the browser console. No deprecation warnings in the console is an acceptance criterion.