Brightest Point

Read with AI
All docs in one file (llms-full.txt)
BrightestPoint #Signal #Node
Brightest Point

Downscales the input RenderTexture to 32×32, reads it back to the CPU, and outputs the position of the pixel with the highest luminance as X / Y (UV coordinates in 0-1; for Y the bottom edge is 0) and its luminance as Brightness (0-1). This is the entry point for wiring up “an effect that sticks to the brightest spot”.

  • Luminance is compared with 299:587:114 weighting (NTSC style)
  • If the input is removed, it returns to X=0.5 / Y=0.5 / Brightness=0

The positional resolution is that of the 32×32 downscale, that is, steps of 1/32. The readout happens once every 3 frames, and since the readback from the GPU is asynchronous, the values carry a delay of several frames.

Input ports

Port IDType
InRenderTexture

Output ports

Port IDType
Xfloat
Yfloat
Brightnessfloat

Synapse Apps (scripting)

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