CrossFade

Read with AI
All docs in one file (llms-full.txt)
CrossFade #Composite #Node
CrossFade

Outputs lerp(A, B, Mix). Mix at 0 gives Texture A, at 1 gives Texture B.

  • Mix default 0.5 (clamped to 0-1)
  • The output resolution follows Texture A (or Texture B if there is none)
  • At startup it allocates one buffer at the global resolution so that a reference can be passed downstream even when no input is connected

When both A and B are unconnected, no compositing runs and the output buffer stays frozen with its previous contents.

To pick a mode and add images together, use BlendRT; to stack three or more, use AppStackMixer.

Input ports

Port IDType
Texture ARenderTexture
Texture BRenderTexture
Mixfloat

Output ports

Port IDType
OutRenderTexture

Scriptable members

PathType
mixInputfloat
mixValuefloat

Synapse Apps (scripting)

await synapse.modules.create({ type: "CrossFade" })

Also referenced from