Go to: Related nodes. Attributes.

ClearCoat 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
studioClearCoatdependNodeutility/generalkStudioClearCoatkBase
kNamedObject
kDependencyNode
kStudioClearCoat

Related nodes

gammaCorrect, surfaceLuminance, contrast, samplerInfo, setRange

Attributes (12)

bias, index, normalCamera, normalCameraX, normalCameraY, normalCameraZ, outValue, rayDirection, rayDirectionX, rayDirectionY, rayDirectionZ, scale

Long name (short name)TypeDefaultFlags
index (ix) float1.8outputinputconnectablestorablekeyable
Describes the refraction properties of the material
scale (s) float1.55outputinputconnectablestorablekeyable
A simple multiplier on the final result
bias (b) float-0.1outputinputconnectablestorablekeyable
Controls the middle point of the contrast adjustment and is added to the final result. Increase Bias to move the middle point upwards (more of the texture becomes dark as contrast increases). Decrease Bias to move the middle point down (more of the texture becomes light as contrast increases).

The computation is:
final result= f(index of refraction) * scale + bias
Where f(index of refraction) is the studioClearCoat computation with the index of refraction as input.

normalCamera (n) float30.0, 0.0, 1.0outputinputconnectablehidden
The current sample normal
normalCameraX (nx) float0.0outputinputconnectablehidden
The x component of the normal
normalCameraY (ny) float0.0outputinputconnectablehidden
The y component of the normal
normalCameraZ (nz) float0.0outputinputconnectablehidden
The z component of the normal
rayDirection (r) float31.0, 1.0, 1.0outputinputconnectablehidden
The current incident ray
rayDirectionX (rx) float0.0outputinputconnectablehidden
The x component of the ray
rayDirectionY (ry) float0.0outputinputconnectablehidden
The y component of the ray
rayDirectionZ (rz) float0.0outputinputconnectablehidden
The z component of the ray
outValue (outp) float0.0outputconnectable
The output value