Remove alpha interpolation in oklab shader
This commit is contained in:
parent
d5521f4230
commit
7d72b9135d
1 changed files with 0 additions and 3 deletions
|
|
@ -19,8 +19,5 @@ fn interpolate_color(from_: vec4<f32>, to_: vec4<f32>, factor: f32) -> vec4<f32>
|
||||||
// Back to linear RGB
|
// Back to linear RGB
|
||||||
var color = to_rgb * (mixed * mixed * mixed);
|
var color = to_rgb * (mixed * mixed * mixed);
|
||||||
|
|
||||||
// Alpha interpolation
|
|
||||||
color.a = mix(from_.a, to_.a, factor);
|
|
||||||
|
|
||||||
return color;
|
return color;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue