Hey there,
I just started with three js and I cant figure out how to change the normal map. I watched a video explaining it (Getting Started with THREE.JS in 2021! - YouTube) and I am doing the same as him but my normal map remains the same. At first I wanted to change it and my object was just black. Then somehow it started working but now i cant use another normal map…
const textureLoader = new THREE.TextureLoader()
const normalTexture = textureLoader.load('/texture/planet.png')
const material = new THREE.MeshStandardMaterial()
material.metalness = 0.7
material.roughness = 0.2
material.normalMap = normalTexture
material.color = new THREE.Color(0x292929)