How to have the same material setting of a basicmaterial with a phongmaterial

Hi,

I would like to have the same settings (color, look) with phongmaterial to reproduce the basicmaterial.

	m.ground = new THREE.MeshBasicMaterial({
		color: "#ffb4a2",
		shininess: 0,
	});

	m.ground = new THREE.MeshPhongMaterial({
		color: "#ffb4a2",
		shininess: 0,
                // ???? to have the same result ?
	});

What is the good recipe to reproduce that ?

Thanks.

phongEmissive

color: 0x000000,
emissive: 0xffb4a2,
specular: 0x000000,
shininess: 0

Generally the point of different materials is to produce a different look or lighting quality. Why are you using a phong material if you want it to look like the basic mateiral?

3 Likes

Thanks both, it’s for the shadows not showing on basicmaterial