matte

A soft opaque surface: half-lambert diffuse, a sky ambient, one broad highlight. Reads well on white.

Options

AttributeTypeDefaultRangeDescription
matte-lightnumber1200 to 360Light azimuth (degrees)
matte-softnessnumber0.50 to 1Terminator softness

Notes

An opaque, softly lit surface. Diffuse light wraps around the shape with a firm terminator, a faint sky light comes from above, and one broad highlight sits where the key light reflects. On a light background the edges darken slightly so the silhouette holds; on a dark one a faint rim keeps it off black.

<sd-scene shading="matte" matte-light="300">
  <sd-knot color="color(display-p3 0.78 0.66 1)"></sd-knot>
</sd-scene>

Put shading="matte" on a scene to shade every object in it, or on one object. Compare all shades on the Shades page.

License

MIT. Use it anywhere, credit appreciated.