* Examples: Clean up * Update webgl_raycaster_bvh.html
@@ -34,7 +34,7 @@
import { OrbitControls } from 'three/addons/controls/OrbitControls.js';
import { FBXLoader } from 'three/addons/loaders/FBXLoader.js';
- THREE.ColorManagement.legacyMode = false;
+ THREE.ColorManagement.enabled = true;
let camera, scene, renderer, stats;
@@ -47,7 +47,7 @@
import { GUI } from 'three/addons/libs/lil-gui.module.min.js';
// Add the extension functions
THREE.BufferGeometry.prototype.computeBoundsTree = computeBoundsTree;