Skip to content

Constant Field ​

The same value everywhere: a number, a direction and a color, each as a field. The plain field to feed, multiply or mask other fields with.

Category: Fields Menu path: Fields > Constant Field

Ports ​

PortTypeDirectionDescription
scalarFieldscalarFieldoutputvalue at every position
vectorFieldvectorFieldoutputdirection at every position
colorFieldcolorFieldoutputcolor at every position

Parameters ​

ParamTypeDefaultDescription
valuescalar1The number the scalar field gives everywhere. Not limited to 0–1.
directionvec2(1, 0)The direction the vector field gives everywhere. (1, 0) points right at full strength, (0, -1) points up.
colorcolorwhiteThe color the color field gives everywhere.

Expose Channels ​

When enabled (E button on node header), adds input ports that override params via edge connections:

PortTypeOverrides
value_inscalarvalue
direction_invec2direction
color_incolorcolor

How It Works ​

Every other field changes from place to place. A Constant Field doesn't: wherever a node samples it, it gets back the same number, direction or color. All three outputs are available at once, so use whichever one the next node needs.

On its own it does what a plain setting would. It earns its place in combination: multiply another field by it to keep one direction and drop the other, add it to shift a field up, or drive a field input that has no setting of its own.

Fields that move in depth read the direction with no depth component.

Usage Examples ​

Basic: scale clones in width only ​

Point Attributes' Scale X/Y reads a vector field's X into the width and its Y into the height. To make a scalar field change only the width:

Your field → Field Math (Multiply) ← Constant Field.vectorField with Direction (1, 0), then Field Math's Vector Field into Point Attributes (Scale X/Y). The X axis now follows your field and Y stays at Point Attributes' Output Min. For example, Out 1 → 2 gives clones their normal width or double it, at their normal height.

Basic: a steady wind ​

Wire vectorField into a Point Solver's Forces for the same push everywhere. Direction (1, 0) blows right.

Creative: fade an effect in and out ​

Wire scalarField into a Field Math Lerp between two fields and animate value from 0 to 1. The result crossfades from one field to the other over time.

Tips ​

  • A plain Vec2 value (from Constant or Make Vector) wired into Field Math also works as a uniform direction, which is quicker when you only need a direction.
  • value can be any number. Most field inputs read 0 as none and 1 as full.
  • FieldMath — combine a Constant Field with another field
  • Constant — the same values as plain numbers, vectors or colors, not fields
  • Remap — reshape a field's values