Hi everyone
I use the 8th Wall for WebAR, which uses Three js to create and display scenes.
Now I have an issue with incorrectly displaying some colors.
In this image, you see the expected result (it is my other Three js scene)
in this image, the 8th Wall scene result. I use the same settings for both scenes and the same light but it is no effect. I tried to change toneMaping, exposure, outputEncoding but is no effect
onStart: ({ canvas }: any): void => {
const { scene, camera, renderer } = (window as any).XR8.Threejs.xrScene();
this.scene = scene;
this.renderer = renderer;
renderer.colorManagement = true;
renderer.toneMapping = THREE.ACESFilmicToneMapping;
renderer.physicallyCorrectLights = true;
renderer.toneMappingExposure = Math.pow(1.2, 5.0);
renderer.outputEncoding = THREE.LinearEncoding;
this.initialScale = this.objectWrapper.scale.clone();
this.scaleFactor = 1;
this.internalState = {
previousState: null
};
initXrScene({ scene, camera, renderer });
this.customLoader8W.remove();
this.tapToPlaceBlock.init();
canvas.addEventListener('touchstart', emitGestureEvent, true);
canvas.addEventListener('touchend', emitGestureEvent, true);
canvas.addEventListener('touchmove', emitGestureEvent, true);
(window as any).XR8.XrController.updateCameraProjectionMatrix({
origin: camera.position,
facing: camera.quaternion
});
}