fix(nds): fix color space
This commit is contained in:
@@ -56,6 +56,7 @@ watch(
|
||||
topScreenTexture = new THREE.CanvasTexture(props.topScreenCanvas);
|
||||
topScreenTexture.minFilter = THREE.NearestFilter;
|
||||
topScreenTexture.magFilter = THREE.NearestFilter;
|
||||
topScreenTexture.colorSpace = THREE.SRGBColorSpace;
|
||||
topScreenTexture.flipY = false;
|
||||
topScreenTexture.repeat.set(1, 1024 / 404);
|
||||
topScreenTexture.offset.set(0, -4 / 1024);
|
||||
@@ -63,6 +64,7 @@ watch(
|
||||
bottomScreenTexture = new THREE.CanvasTexture(props.bottomScreenCanvas);
|
||||
bottomScreenTexture.minFilter = THREE.NearestFilter;
|
||||
bottomScreenTexture.magFilter = THREE.NearestFilter;
|
||||
bottomScreenTexture.colorSpace = THREE.SRGBColorSpace;
|
||||
bottomScreenTexture.flipY = false;
|
||||
bottomScreenTexture.repeat.set(1, 1024 / 532);
|
||||
bottomScreenTexture.offset.set(0, -1024 / 532 + 1);
|
||||
|
||||
Reference in New Issue
Block a user