User Guide Cancel

Sampler nodes | Substance 3D Designer

Sampler nodes

Sampler nodes

These nodes sample a value in an input image at the provided 2D coordinates:

Sample Gray samples a luminance value at the input Position in a grayscale image and outputs it as a Float value.

Sample Color samples an RGBA value at the input Position in a color image and outputs it as a Float4 value where the R,G,B and A components are mapped to the X, Y, Z and W components respectively.

Coordinates start from the top left corner of an input, and range between 0 and 1 horizontally and vertically.

Positions out of this range are handled according to the selected Addressing mode (see below).

Pixel coordinates

Note:

The Position input should be a Float2 value where the image's X and Y coordinates are mapped to the X and Y components of the value respectively

Parameters

Get help faster and easier

New user?