Go to: Related nodes. Attributes.

Smear is a utility node that allows you to convert an RGB color into a UV coordinate offset.

This allows you to "smear" UV coordinates using a texture to define how the coordinates are remapped. To better understand how this works, the color is converted internally to the HSV "color wheel" representation, and the angle on the wheel and distance from its center are treated as polar coordinates in the UV space, which are then converted to rectangular coordinates and ouput as the resulting UV offset.

In the table below, important attributes have their names listed in bold in the description column.

This node is MP safe

Node nameParentsClassificationMFn typeCompatible function sets
smearnodeutility/color:drawdb/shader/operation/smearkSmearkBase
kNamedObject
kDependencyNode
kSmear

Related nodes

blendColors, clamp, lightInfo, gammaCorrect, surfaceLuminance, contrast, luminance, rgbToHsv, samplerInfo, setRange, resolution, renderQuality, renderGlobals, renderGlobalsList, baseShadingSwitch, singleShadingSwitch, doubleShadingSwitch, tripleShadingSwitch

Attributes (7)

inColorB, inColorG, inColorR, inRgb, outU, outUV, outV

Long name (short name)TypeDefaultFlags
inRgb (i) float30.0, 0.0, 0.0outputinputconnectablestorable
Input Color is the RGB value which determines how far and in what direction to offset in UV.
inColorR (ir) float0.0outputinputconnectablestorable
The red component of Input Color.
inColorG (ig) float0.0outputinputconnectablestorable
The green component of Input Color.
inColorB (ib) float0.0outputinputconnectablestorable
The blue component of Input Color.
outUV (o) float20.0, 0.0outputconnectable
Out UV: This attribute should be connected to the UV Coord attribute of the 2d texture being placed.
outU (ou) float0.0outputconnectable
The U component of OutUV
outV (ov) float0.0outputconnectable
The V component of OutUV