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.
Node name | Parents | Classification | MFn type | Compatible function sets |
---|
smear | node | utility/color:drawdb/shader/operation/smear | kSmear | kBase 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) | Type | Default | Flags |
---|
|
inRgb
(i )
| float3 | 0.0, 0.0, 0.0 |     |
|
|
|
|
|
outUV
(o )
| float2 | 0.0, 0.0 |   |
|
| outU
(ou )
| float | 0.0 |   | |
|
| outV
(ov )
| float | 0.0 |   | |
|