Skip to Content

Values

Constants, inputs, and basic data providers. These nodes generate or accept values that flow through your graph.


Checkerboard

Source

Generates a two-color checkerboard pattern from UV coordinates. Runs entirely on the GPU with no texture memory — the pattern stays crisp at any zoom level. Useful as a test pattern, tiling background, or input to blend and distortion effects.

This is a surface shader node - it can be connected to rendering nodes.

Inputs:

NameTypeDefaultDescription
tilingNumber / 2D Vector8.00Number of cells across each axis — use float for uniform or float2 for separate rows and columns
color1RGB Color / RGBA Color / Number / 2D Vector / 3D Vector / 4D Vector / Visual OutputRGB(1.00, 1.00, 1.00)Color or surface shader for the first set of alternating cells
color2RGB Color / RGBA Color / Number / 2D Vector / 3D Vector / 4D Vector / Visual OutputRGB(0.20, 0.20, 0.20)Color or surface shader for the second set of alternating cells

Outputs:

NameType
colorVisual Output

Checkerboard

Related: Color RGB, Color RGBA, Float, Float2, Float3


Color RGB

Source

Color as Red, Green, Blue channels from 0.0 (none) to 1.0 (full).

Inputs:

NameTypeDefaultDescription
colorRGB ColorRGB(0.30, 0.50, 1.00)The RGB color to output

Outputs:

NameType
resultpolymorphic

Color RGB

Related: Checkerboard, Color RGBA, Float, Float2, Float3


Color RGBA

Source

RGBA color with alpha. Output can be used as color or float4 vector.

Inputs:

NameTypeDefaultDescription
colorRGBA ColorRGBA(0.30, 0.50, 1.00, 1.00)Color as Red, Green, Blue, Alpha channels from 0.0 (none) to 1.0 (full)

Outputs:

NameTypeDescription
resultpolymorphicThe RGBA color value, usable as a color or a 4-component vector (R, G, B, A)

Color RGBA

Related: Checkerboard, Color RGB, Float, Float2, Float3


Float

Source

Single floating-point number. Use for parameters like intensity, speed, or scale.

Inputs:

NameTypeDefaultDescription
valueNumber1.00Single number — use for intensity, speed, scale, or any parameter

Outputs:

NameTypeDescription
resultNumberThe float value

Related: Checkerboard, Color RGB, Color RGBA, Float2, Float3


Float2

Source

2D vector (x, y). Use for UV coordinates, 2D positions, or directions.

Inputs:

NameTypeDefaultDescription
vector2D Vector(0.00, 0.00)Two numbers (x, y) — use for 2D positions, UV offsets, or sizes

Outputs:

NameTypeDescription
result2D VectorThe 2D vector value

Related: Checkerboard, Color RGB, Color RGBA, Float, Float3


Float3

Source

3D vector (x, y, z). Use for positions, directions, or RGB colors.

Inputs:

NameTypeDefaultDescription
vector3D Vector(0.00, 0.00, 0.00)Three numbers (x, y, z) — use for 3D positions, directions, or RGB colors

Outputs:

NameTypeDescription
resultpolymorphicThe 3D vector value, usable as a vector or an RGB color

Related: Checkerboard, Color RGB, Color RGBA, Float, Float2


Float4

Source

4D vector (x, y, z, w). Use for RGBA colors or homogeneous coordinates.

Inputs:

NameTypeDefaultDescription
vector4D Vector(0.00, 0.00, 0.00, 1.00)Four numbers (x, y, z, w) — use for RGBA colors or homogeneous coordinates

Outputs:

NameTypeDescription
resultpolymorphicThe 4D vector value, usable as a vector or an RGBA color

Related: Checkerboard, Color RGB, Color RGBA, Float, Float2


Image File

Source

Load and sample a texture from a file.

This is a surface shader node - it can be connected to rendering nodes.

Inputs:

NameTypeDefaultDescription
pathString-File path to an image (PNG, JPG, HEIC, TIFF, BMP)

Outputs:

NameTypeDescription
colorVisual OutputThe loaded image, sampled at fragment UV coordinates
dimensions2D VectorImage resolution in pixels (width, height)

Related: Checkerboard, Color RGB, Color RGBA, Float, Float2


Soft Gradient

Source

Radial gradient with soft falloff. Great for particle sprites.

This is a surface shader node - it can be connected to rendering nodes.

Inputs:

NameTypeDefaultDescription
falloffNumber4.00Sharpness of the radial fade — higher = tighter glow

Outputs:

NameTypeDescription
colorVisual OutputWhite radial gradient with soft alpha falloff from center to edges

Soft Gradient

Related: Checkerboard, Color RGB, Color RGBA, Float, Float2


Time

Source

Current scene time in seconds. Respects play/pause/reset controls.

Inputs:

No inputs

Outputs:

NameTypeDescription
resultNumberElapsed scene time in seconds

Related: Checkerboard, Color RGB, Color RGBA, Float, Float2


UV Grid

Source

UV debug visualization. Red = U, Green = V.

This is a surface shader node - it can be connected to rendering nodes.

Inputs:

No inputs

Outputs:

NameTypeDescription
colorVisual OutputUV coordinates mapped to color — Red = U, Green = V

UV Grid

Related: Checkerboard, Color RGB, Color RGBA, Float, Float2


Video File

Source

Load a video file and output frames as a texture. Loops by default. Connect to ‘time’ input to control playback.

This is a surface shader node - it can be connected to rendering nodes.

Inputs:

NameTypeDefaultDescription
pathString-File path to a video (MP4, MOV, M4V)
timeNumberScene TimePlayback position in seconds — wraps when loop is on, holds last frame when off
loopBooleantrueWhether the video restarts from the beginning when it reaches the end

Outputs:

NameTypeDescription
colorVisual OutputCurrent video frame as a texture
durationNumberTotal video duration in seconds
progressNumberCurrent playback position as a 0–1 fraction
dimensions2D VectorVideo resolution in pixels (width, height)

Related: Checkerboard, Color RGB, Color RGBA, Float, Float2


White Noise

Source

Per-pixel random noise pattern. Animate seed with Time for TV static. Use colored mode for RGB noise.

This is a surface shader node - it can be connected to rendering nodes.

Inputs:

NameTypeDefaultDescription
scaleNumber500.00Noise frequency — higher values produce finer grain
seedNumber0.00Random seed — connect Time for animated static
coloredNumber0.000 = grayscale, 1 = independent RGB color noise

Outputs:

NameTypeDescription
colorVisual OutputPer-pixel random noise pattern

Related: Checkerboard, Color RGB, Color RGBA, Float, Float2


Last updated on

Apple and the Apple logo are trademarks of Apple Inc. sxp.studio and Subjective Designer are not affiliated with Apple.