RTAverage
Downscales the incoming RenderTexture to 16×16, reads it back to the CPU, and outputs the average of all pixels as Average Color and its brightness (0.299R + 0.587G + 0.114B) as Brightness. It has no parameters.
- Disconnecting the input resets it to black / 0
The readout happens once every 3 frames, and because the readback from the GPU is asynchronous, the values lag the current frame by several frames.
Input ports
| Port ID | Type |
|---|---|
Render Texture | RenderTexture |
Output ports
| Port ID | Type |
|---|---|
Average Color | Color |
Brightness | float |
Synapse Apps (scripting)
await synapse.modules.create({ type: "RTAverage" }) 


