marginal performance update
This commit is contained in:
parent
dd89b6fa15
commit
05995310de
1 changed files with 3 additions and 3 deletions
|
@ -136,13 +136,13 @@ window.addEventListener("resize", onWindowResize);
|
|||
let controls = new OrbitControls(camera, labelRenderer.domElement);
|
||||
controls.enablePan = false;
|
||||
controls.minDistance = 8;
|
||||
controls.maxDistance = 10;
|
||||
controls.maxDistance = 12;
|
||||
controls.enableDamping = true;
|
||||
controls.autoRotate = false;
|
||||
|
||||
// <GLOBE>
|
||||
|
||||
let counter = 200000;
|
||||
let counter = 50000;
|
||||
let rad = 5;
|
||||
let sph = new THREE.Spherical();
|
||||
|
||||
|
@ -179,7 +179,7 @@ let g = new THREE.BufferGeometry().setFromPoints(pts);
|
|||
g.setAttribute("color", new THREE.Float32BufferAttribute(clr, 3));
|
||||
g.setAttribute("uv", new THREE.Float32BufferAttribute(uvs, 2));
|
||||
let m = new THREE.PointsMaterial({
|
||||
size: 0.1,
|
||||
size: 0.14,
|
||||
vertexColors: false,
|
||||
color: new THREE.Color(0x743c2f),
|
||||
onBeforeCompile: (shader) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue