Tweak exposure effect on ImageWallpaper.
This changes the exposure values so that the wallpaper is more visible during the beginning of the exposure effect, so that the shape of the reveal scrim from the power button/lift is more visible initially. Test: manual, looks good Bug: 181020504 Change-Id: I77216550d9507e0bdfa38976329170b40345ffa1
This commit is contained in:
@@ -46,7 +46,7 @@ void main() {
|
||||
// Transform it using the S curve created by the smoothstep. This will increase the contrast.
|
||||
lum = smoothstep(0., 1., lum) + 0.001;
|
||||
|
||||
lum = relativeExposureCompensation(lum, mix(-15., 10., uExposure));
|
||||
lum = relativeExposureCompensation(lum, mix(-5., 10., uExposure));
|
||||
lum = mix(clamp(lum, 0.0, 1.0), 1.0, normalizedRange(uExposure, 0.55, 1.0));
|
||||
color.rgb *= lum;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user