Skip to main content
Version: 5.x

Nodes > Functions > Sample > Flow Map Sample

Flow Map Sample

Samples a texture with distorted coordinates from a given vector field, also known as a flow map.

Inputs

NameTypeDescription
MainTexturetex2DMain texture that will be distorted
Main UV CoordsfloatBase coordinates that will be offset by the vector field
VectorFieldTexturetex2DFlow map texture
Vector Field UV CoordsfloatFlow map UV coordinates
Flow StrengthfloatMultiplier on the flow map that offsets the main UV coords
Flow SpeedfloatHow fast to animate the main UV coords

Outputs

NameTypeDescription
ColorcolorSampled color from the main texture

Properties

NameTypeDescription
Main Coords ModedropdownChoose what source to use for the Main UV Coordinates. If "UV Coord 0" or "UV1 Coord 1" are selected, the respective surface UV set will be used. If "Custom" is selected, the Main UV Coords input will be exposed and used instead
Vector Field Coords ModedropdownChoose what source to use for the Vector Field UV Coordinates. If "UV Coord 0" or "UV1 Coord 1" are selected, the respective surface UV set will be used. If "Custom" is selected, the Vector Field UV Coords input will be exposed and used instead
Was this page helpful?
Yes
No