Skip to content

Shading

Shading

THREE equivalent: THREE.FlatShading / THREE.SmoothShading

Shading mode constants for materials.

Differs from THREE.js

Shading.Gouraud instead of THREE.SmoothShading. No per-pixel (Phong) shading.

Name Type Description
Flat number Per-face flat shading.
Gouraud number Per-vertex interpolated shading.