Give every mask its own tone curve.
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>
This commit is contained in:
@@ -1670,6 +1670,13 @@ export function LocalPanel({
|
||||
))}
|
||||
</div>
|
||||
|
||||
<div className="local-subhead">Mask curve</div>
|
||||
<CurveEditor
|
||||
points={active.curve}
|
||||
onChange={(points) => patch({ curve: points }, 'Mask curve')}
|
||||
color="#f2f4f8"
|
||||
/>
|
||||
|
||||
<div className="local-subhead">Light</div>
|
||||
<Slider
|
||||
label="Exposure"
|
||||
|
||||
Reference in New Issue
Block a user