I am working with a model and I want to give it a more metallic finish like this:
My result is this:
I am using thie code:
new_mtl = new THREE.MeshStandardMaterial( {
color: 0x0059b8, // red (can also use a CSS color string here)
roughness: 1,
metalness : 0
} );
If i put metalness to 1 the result is:
Any Idea? Thanks.
You need to apply an environment map since you need some reflections going on on metal surfaces.
you can use scene.environment for this map. All Standardmaterials will then work with this map.
you can also put that map to the standardmaterial.envMap.
You can also checkout CubeTextureLoader or hdr environment maps with RGBELoader for such use cases
Hello i do this:
new_mtl = new THREE.MeshStandardMaterial( {
color: 0xE25303,
roughness: 0.4,
metalness: 0,
envMap: scene.environment
} );
The result is:
If i put this:
new_mtl = new THREE.MeshStandardMaterial( {
color: 0xE25303,
roughness: 0.4,
metalness: 1,
envMap: scene.environment
} );
The result is not more metalic:
Any Idea?
Thanks