reduce points and increase point size

This commit is contained in:
rouce 2023-10-15 04:05:48 -04:00
parent 05995310de
commit a2ce1fdcd3

View file

@ -142,7 +142,7 @@ controls.autoRotate = false;
// <GLOBE>
let counter = 50000;
let counter = 30000;
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.14,
size: 0.16,
vertexColors: false,
color: new THREE.Color(0x743c2f),
onBeforeCompile: (shader) => {