reduce points and increase point size
This commit is contained in:
parent
05995310de
commit
a2ce1fdcd3
1 changed files with 2 additions and 2 deletions
|
@ -142,7 +142,7 @@ controls.autoRotate = false;
|
||||||
|
|
||||||
// <GLOBE>
|
// <GLOBE>
|
||||||
|
|
||||||
let counter = 50000;
|
let counter = 30000;
|
||||||
let rad = 5;
|
let rad = 5;
|
||||||
let sph = new THREE.Spherical();
|
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("color", new THREE.Float32BufferAttribute(clr, 3));
|
||||||
g.setAttribute("uv", new THREE.Float32BufferAttribute(uvs, 2));
|
g.setAttribute("uv", new THREE.Float32BufferAttribute(uvs, 2));
|
||||||
let m = new THREE.PointsMaterial({
|
let m = new THREE.PointsMaterial({
|
||||||
size: 0.14,
|
size: 0.16,
|
||||||
vertexColors: false,
|
vertexColors: false,
|
||||||
color: new THREE.Color(0x743c2f),
|
color: new THREE.Color(0x743c2f),
|
||||||
onBeforeCompile: (shader) => {
|
onBeforeCompile: (shader) => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue