diff --git a/src/interface/utils.js b/src/interface/utils.js index f59f694..5a8fca0 100644 --- a/src/interface/utils.js +++ b/src/interface/utils.js @@ -20,7 +20,7 @@ export function createScene(canvas, props, state) { const centerZ = (geometry.boundingBox.max.z + geometry.boundingBox.min.z) / 2; geometry.applyMatrix(new THREE.Matrix4().makeTranslation(-centerX, -centerY, -centerZ)); - const renderer = new THREE.WebGLRenderer({ canvas, alpha: true }); + const renderer = new THREE.WebGLRenderer({ canvas, alpha: true, antialias: true }); renderer.setClearColor(0xffffff, 0); const scene = new THREE.Scene();