Documentation / Node reference / tex nodes

tex/SubnetInput

Brings one of the enclosing texture subnet's inputs inside it.

Network

Inside a tex/Subnet, this shows the image wired into the subnet's input at the given index. Wire filters after it to work on an image the subnet is given from outside, rather than on a fixed source.

Inside a tex/Solver, input 0 is the picture as it is now: the solver's first input before the first step, then the result of the step before. Inputs 1 to 3 are the solver's other inputs, unchanged.

With nothing wired into the subnet's input, this node shows nothing, and a node reading it reports an error. Turn on fallback to make the input optional: it then shows a picture of one pixel of fallbackColor, for example white for a mask that hides nothing.

Parameters

Name Type What it does
input UInt8 Which of the subnet's inputs this node stands for, counting from 0.
fallback Bool What this node shows when nothing is wired into the subnet's input. Off: nothing, and a node reading it reports an error. On: a picture of one pixel of fallbackColor.
fallbackColor Color4 The colour shown when fallback is on and nothing is wired into the subnet's input, read as it is (linear light), 8 bits per channel: pick the value that changes nothing, such as white for a mask or black for an amount to add.

See also

This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.