Skip to content

Commit c0f9764

Browse files
authored
Examples: Move IFC demo to sRGB. (#26121)
* Examples: Move IFC demo to sRGB. * Examples: Update screenshots.
1 parent 60f307f commit c0f9764

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed
1.05 KB
Loading

examples/webgl_loader_ifc.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"three/examples/jsm/utils/BufferGeometryUtils": "./jsm/utils/BufferGeometryUtils.js",
3030
"three-mesh-bvh": "https://unpkg.com/three-mesh-bvh@0.5.23/build/index.module.js",
3131
"web-ifc": "https://unpkg.com/web-ifc@0.0.36/web-ifc-api.js",
32-
"web-ifc-three": "https://unpkg.com/web-ifc-three@0.0.122/IFCLoader.js"
32+
"web-ifc-three": "https://unpkg.com/web-ifc-three@0.0.125/IFCLoader.js"
3333
}
3434
}
3535
</script>
@@ -42,8 +42,6 @@
4242
import { IFCLoader } from 'web-ifc-three';
4343
import { IFCSPACE } from 'web-ifc';
4444

45-
THREE.ColorManagement.enabled = false; // TODO: Confirm correct color management.
46-
4745
let scene, camera, renderer;
4846

4947
async function init() {
@@ -99,7 +97,6 @@
9997
renderer = new THREE.WebGLRenderer( { antialias: true } );
10098
renderer.setSize( window.innerWidth, window.innerHeight );
10199
renderer.setPixelRatio( window.devicePixelRatio );
102-
renderer.outputColorSpace = THREE.LinearSRGBColorSpace;
103100
document.body.appendChild( renderer.domElement );
104101

105102
//Controls

0 commit comments

Comments
 (0)