Material Feature / Modifier tier — compiled shader augmentations that inject into a ShadedMaterial's shading and produce batchable variants. A composable base lit material carrying an ordered Modifier stack, an open registry keyed by feature kind over the
Material Feature / Modifier tier — compiled shader augmentations that inject into a ShadedMaterial's shading and produce batchable variants. A composable base lit material carrying an ordered Modifier stack, an open registry keyed by feature kind over the diffuse/specular/normal/emissive/effect slot taxonomy, the composition/ordering contract that turns a stack into a deterministic ordered feature-set plus a stable define-key, seed emissive/rim/animated-normal modifier constructors, and sentinel-returning validation; substrate-agnostic and tree-shakable, the tier between complete materials and post-output adjustments
Install
npm install @flighthq/shading
Import the supported application-facing API from @flighthq/shading. The @flighthq/shading/contract export is the wider package-to-package contract used to compose Flight itself.
This package is part of the locked-version Flight SDK graph. Applications may instead install and import @flighthq/sdk when package-level tree shaking is sufficient.
Material Feature / Modifier tier — compiled shader augmentations that inject into a ShadedMaterial's shading and produce batchable variants. A composable base lit material carrying an ordered Modifier stack, an open registry keyed by feature kind over the