diff --git a/src/renderer/VolumeWorld.js b/src/renderer/VolumeWorld.js index 8aad4b1..9e43211 100644 --- a/src/renderer/VolumeWorld.js +++ b/src/renderer/VolumeWorld.js @@ -63,6 +63,7 @@ export default class VolumeWorld { let rendererSize = new THREE.Vector2(); this.renderer.getSize(rendererSize); + rendererSize = rendererSize.multiplyScalar(this.renderer.getPixelRatio()); this.clearview = new Clearview(this.raymarcher, rendererSize, volumeBox, this.settings);