npm install three-glitter-material
const customUniforms = {
  uGlitterSize: { value: 30.0 },
  uGlitterDensity: { value: 1.0 }
}

const glitterMaterial = new GlitterMaterial(customUniforms, {
  color: '#a007f2'
})

const mesh = new THREE.Mesh(new THREE.Sphere(3, 32, 32), glitterMaterial)