@motion-script/core / DisplaceChannel
Type Alias: DisplaceChannel
DisplaceChannel =
"rg"|"luminance"|"alpha"
Defined in: attributes/shape/effects/implementations/displace.ts:15
Which part of the map drives the displacement.
"rg"— red moves pixels horizontally, green vertically. The convention every normal/flow map is authored to, and the only one that can push in two directions independently."luminance"— one value drives both axes. What a grayscale bump map means: the brighter the pixel, the further it is pushed alongamount."alpha"— the map's alpha, for displacing from a cut-out shape.