Atlaslog
Atlaslog / three.js / API reference / MeshStandardMaterial
three.js · API reference

MeshStandardMaterial

Quick answer

MeshStandardMaterial implements physically based metalness-roughness shading and is the default choice for realistic surfaces. color, roughness, and metalness define the base response, while map, normalMap, roughnessMap, and envMapIntensity add texture detail and reflections. Enable vertexColors for per-vertex tint or onBeforeCompile() to inject custom shader code.

Last verified 2026-11-03 · three.js 0.160.0 · Cite this page
new THREE.MeshStandardMaterial ( parameters ) → MeshStandardMaterial
Key points
Example
const material = new THREE.MeshStandardMaterial({
  color: 0x8fa6c0,
  roughness: 0.62,
  metalness: 0.15,
  side: THREE.DoubleSide
});

const mesh = new THREE.Mesh(
  new THREE.BoxGeometry(4, 4, 4),
  material
);
scene.add(mesh);
material.vertexColors = true;
material.needsUpdate = true;
const flat = new THREE.MeshBasicMaterial({ vertexColors: true });
Notes
Runnable examplesChinese originalAll API references
English edition written for Atlaslog. Code is taken from the original Chinese page and runs unchanged.
Cite this page

Atlaslog (2026). MeshStandardMaterial. https://www.jingweizhi.com/en/three/api/mesh-standard-material.html (accessed 2026-11-03).