Skip to content

resolveAlphaMap

resolveAlphaMap(sourceURL, options): Promise<AlphaMap | null>

Defined in: packages/three-flatland/src/events/resolveAlphaMap.ts:34

Resolve an alpha hitmask for a source image URL: probe the baked .alpha.png sibling (hash-stamped — see flatland-bake alpha), load it on a match, otherwise fall back to runtime extraction with a devtime warning. Mirrors resolveNormalMap. Spec §10.

string

ResolveAlphaMapOptions

Promise<AlphaMap | null>