Three js Points


by geometry, points
```typeconst dotGeometry = new THREE.Geometry()      dotGeometry.vertices.push(new THREE.Vector3(0, 0, 0))      const dotMaterial = new THREE.PointsMaterial({        size: 1,        sizeAttenuation: false      })      const dot = new THREE.Points(dotGeometry, dotMaterial)scene.add( dot )```

> [three.js How to render a simple white dot/point/pixel](https://stackoverflow.com/questions/26297544/three-js-how-to-render-a-simple-white-dot-point-pixel)




-1 - Do not support different size of each point
> [How to display points of different sizes using THREE.Points()](https://discourse.threejs.org/t/how-to-display-points-of-different-sizes-using-three-points/4751)

should use custom shader like this
> [mrdoob/three.js](https://github.com/mrdoob/three.js/blob/master/examples/webgl_custom_attributes_points.html)











