Renderer · interface

SurfaceWrinkle

A second normal map blended into the surface's by six region weights, read through two masks: the first mask's red, green and blue carry regions 1 to 3, the second's regions 4 to 6. A face's expressions, or veins brought up all over.

Explained in Hello world.

interface SurfaceWrinkle
import type { SurfaceWrinkle } from '@driftengine/core';

Properties

NameTypeDescription
normalreadonlyOverlayRegion
masksreadonlyreadonly [OverlayRegion, OverlayRegion]
weightsreadonlyreadonly [number, number, number, number, number, number]