Shading

Shading
THREE: THREE.FlatShading / THREE.SmoothShading

Shading mode constants for materials.

Differs from THREE.js

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

Properties

NameTypeDescription
Flat

number

Per-face flat shading.

Gouraud

number

Per-vertex interpolated shading.