Skip to content

shading

Set the surface-edge rendering style.

shading flat
shading interp
shading faceted

Controls how surface edges are drawn:

  • 'flat' — one color per face, no edge lines
  • 'interp' — smooth color interpolation across faces, no edge lines
  • 'faceted' (default) — flat shading with edge lines

Distinct from lighting, which controls the light-interpolation algorithm.

shading interp
  • lighting — Set the lighting model on a surface.
  • material — Set surface material reflectance properties.