Hi all got a function for create points:
function generateSpherePoints(size, count){
geometry = new THREE.Geometry(spherical);
for(let i = 0; i < count; i++){
geometry.vertices.push(setRandomPointInSphere(50));
}
var material_medium = new THREE.PointsMaterial({color: 0xffffff, size: size,alphaTest: 0, transparent: true});
points = new THREE.Points(geometry, material_medium);
return points;
}
how without textures i can change point shape from box to sphere?