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 ID | Type |
|---|---|
Texture A | RenderTexture |
Texture B | RenderTexture |
Mix | float |
Output ports
| Port ID | Type |
|---|---|
Out | RenderTexture |
Scriptable members
| Path | Type |
|---|---|
mixInput | float |
mixValue | float |
Synapse Apps (scripting)
await synapse.modules.create({ type: "CrossFade" }) 