Ramp
Replaces the input’s brightness (dot(rgb, (0.299, 0.587, 0.114)) saturated to 0-1) with a three-color gradient. Color A maps to brightness 0, Color B to brightness 0.5, and Color C to brightness 1, with linear interpolation in between. Its main use is giving color to monochrome sources such as noise and masks.
- Color A — Default is black
- Color B — Default is
(0.8, 0.2, 0.5), a magenta-leaning color - Color C — Default is
(1, 0.95, 0.7), a cream color
Each color can also be fed from an input port, so the colors themselves can be animated.
The output alpha is always fixed to 1 (the input’s alpha is not referenced). Disconnecting the input clears the output to black.
The output is HDR-capable and has the same resolution as the input. The node UI shows a preview.
Input ports
| Port ID | Type |
|---|---|
Render Texture | RenderTexture |
Color A | Color |
Color B | Color |
Color C | Color |
Output ports
| Port ID | Type |
|---|---|
Render Texture | RenderTexture |
Synapse Apps (scripting)
await synapse.modules.create({ type: "Ramp" }) 

