atialiasing, camera position
This commit is contained in:
parent
fea8f20a9b
commit
2f3b06d9d5
4
app.js
4
app.js
@ -812,7 +812,7 @@ const scene = new THREE.Scene()
|
|||||||
|
|
||||||
const renderer = new THREE.WebGLRenderer({
|
const renderer = new THREE.WebGLRenderer({
|
||||||
powerPreference: "high-performance",
|
powerPreference: "high-performance",
|
||||||
antialias: false,
|
antialias: true,
|
||||||
stencil: false,
|
stencil: false,
|
||||||
depth: false
|
depth: false
|
||||||
})
|
})
|
||||||
@ -821,7 +821,7 @@ renderer.setClearColor(0xffffff, 0)
|
|||||||
document.body.appendChild(renderer.domElement)
|
document.body.appendChild(renderer.domElement)
|
||||||
|
|
||||||
const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 400)
|
const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 400)
|
||||||
camera.position.set(5, 3, 17)
|
camera.position.set(5, 2, 16)
|
||||||
|
|
||||||
const controls = new OrbitControls( camera, renderer.domElement )
|
const controls = new OrbitControls( camera, renderer.domElement )
|
||||||
controls.autoRotate
|
controls.autoRotate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user