I am a beginner in ThreeJS and I am attempting to create a asteroids-like scene with textures made of particles, similar to what is showcased on this website . However, my attempt to apply a displacement map to a points material was unsuccessful. How can I troubleshoot this issue?
const dispTexture = new THREE.TextureLoader().load('NormalMap.jpg');
const sphere = new THREE.Points(
new THREE.SphereGeometry(3, 32, 32),
new THREE.PointsMaterial({
size: 0.07,
color: 0xFF325F,
displacementMap: dispTexture,
displacementScale : 0.2,
})
);
scene.add(sphere);