acf582251f
Local masks could only shift tone globally, so a burnt sky or a backlit face had to fight the frame-wide sliders. Each mask now carries an RGB point curve, applied to the masked pixels before the mask blend. All eight curves ride in one 256×8 LUT texture, so the grade shader needs a single extra sampler rather than eight. Masks saved before this exist migrate to an identity curve, so old edits keep their look; the render check fails if the curve stops reaching the grade, and a unit test pins the LUT's identity, per-row isolation and monotonicity. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>