Make lens-profile vignetting correction opt-in.
Applying a profile used to enable distortion, CA and vignetting together, and the flat-field gain lifts the already tone-mapped corners above the frame centre, over-exposing the edges. Vignetting now defaults off when a profile is applied or restored from a camera default, and only turns on when a profile explicitly stored vignetting: true.
This commit is contained in:
+5
-1
@@ -421,7 +421,11 @@ function lensProfile(input: unknown): LensProfile | undefined {
|
||||
corrections: {
|
||||
distortion: corrections?.distortion !== false,
|
||||
tca: corrections?.tca !== false,
|
||||
vignetting: corrections?.vignetting !== false,
|
||||
// The vignetting map is a flat-field gain applied to the already
|
||||
// tone-mapped proxy, which pushes the corners brighter than the frame
|
||||
// centre and over-exposes the edges. It stays opt-in, so a profile saved
|
||||
// without an explicit flag never brightens the corners.
|
||||
vignetting: corrections?.vignetting === true,
|
||||
},
|
||||
distance: num(raw.distance, 1000, 0.1, 100000),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user