Material Sampler
Last updated
Was this helpful?
Last updated
Was this helpful?
The Material Sampler samples an Input Shape and then outputs values of between 0-1 depending on the value (lightness/darkness) of the shape (e.g. black = 0, white = 0). Alternatively it will output the color if connected to an attribute that supports it (e.g. Fill Color).
It can be used in combination with to control attributes for other shapes and is particular useful when used alongside a .
+
Value - a multiplier.
Input Path - connect a Shape with a Material to sample from.
Graph - use the graph to remap the output values.
Offset - add/subtract a value to the output(s).
The Material Sampler does not currently support SkSL Shaders (this includes the ).
The Material Sampler does not currently support frame changes when used within a Pre Comp. Please try and use a instead of a if possible as a workaround.