Skip to content

Export Nodes SourceIOChannelRemapNode

REDxEYE edited this page Nov 20, 2026 · 1 revision

Remap (Channel)

Remaps the value range of a single channel, with optional gamma and smooth curves. Typical uses: contrast-stretching a mask, inverting a channel, or converting a roughness range into an exponent range.

Remap (Channel) node

Inputs

Input Type Description
channel Channel (single link) Channel to remap. Required (an unlinked default number is not accepted).

Outputs

Output Type Description
channel Channel Remapped channel, same size.

Properties

Control Meaning
In Min / In Max Input range (defaults 0 and 1). A reversed range (In Min > In Max) inverts the channel; equal values are treated as a tiny range so the node never divides by zero.
Out Min / Out Max Output range (defaults 0 and 1).
Gamma Exponent applied to the normalised value as x ^ (1 / gamma) (default 1 = off). Values above 1 brighten midtones. The value is clamped to 0-1 before the power.
Curve Linear (default), Smoothstep or Smootherstep easing applied after gamma (input clamped to 0-1 first).
Clamp Input 0..1 Clamp the normalised value before gamma/curve (default on).
Clamp Result 0..1 Clamp the final value to 0-1 (default off).

How it works

Order: normalise (x - In Min) / (In Max - In Min) -> optional input clamp -> gamma -> curve -> Out Min + t * (Out Max - Out Min) -> optional result clamp. Operates on stored numbers; no colour conversion.

Texture operators are evaluated while the export graph is resolved (and by the Texture Preview node): upstream image sources are decoded to float arrays, the operator runs on whole images, and the result is passed on without being written anywhere. If an operator cannot produce a result (a required input is unlinked, sizes differ, wrong data type) the export stops with ": output is unavailable".

Example workflow

  • Stretch a mask: Split Channels A -> Remap (In Min 0.2, In Max 0.8) -> Combine Channels A.
  • Invert: In Min 1, In Max 0 (or Out Min 1, Out Max 0).
  • Soft threshold: Curve Smoothstep with a narrow In range.

Caveats

  • Linked input only: the node ignores its socket default value.
  • With Clamp Input off and Gamma != 1 the value is still clipped to 0-1 before the power function.
  • Out of range results are only clamped on request (the VTF Output clamps at export).

Export Nodes

Clone this wiki locally