← f_ notebook · docs/f-reference/f_luma_processor.md

f_luma_processor — Bpatcher Spec ​

Last updated: 2026-05-25Status: Working

Concept ​

Luminance-selective processing. Isolates a luma range within the input texture and applies saturation, luminance shift, and hue shift within that range. The luma selection band is set by low_mid and mid_high breakpoints.

Parameters ​

NameTypeDescription
bypasstoggleBypass processing
sat_amtfloatSaturation adjustment within selected luma range
lum_shiftfloatLuminance shift within selected luma range
hue_shiftfloatHue rotation within selected luma range
edge_fallofffloatSoftness of the luma selection boundary
low_midfloatBreakpoint between low and mid luma bands
mid_highfloatBreakpoint between mid and high luma bands

Signal Chain ​

texture in → jit.gl.pix (luma selection + processing codebox)
           → texture out

Parameters routed via route bypass sat_amt lum_shift hue_shift edge_falloff low_mid mid_high.

Loose Threads ​

  • None known. Parallel structure to f_hue_processor — changes to one often suggest parallel changes to the other.

References ​

Luminance-selective processing is the structural parallel of f_hue_processor's band logic applied to luma instead of hue; both were developed in-house, no external source consulted. The low/mid/high band split shares the low_mid/mid_high/edge_falloff convention that f_tone_curve also uses.

See docs/f-reference/f_luma_processor.md (this file) for the full parameter reference.

Source File ​

patchers/f_luma_processor.maxpat