We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 171a716 commit 6839571Copy full SHA for 6839571
crates/bevy_ui/src/render/gradient.wgsl
@@ -117,7 +117,6 @@ fn fragment(in: GradientVertexOutput) -> @location(0) vec4<f32> {
117
// Mix colors in sRGB space and convert back to linear for GPU output
118
fn mix_srgb_colors(a: vec4<f32>, b: vec4<f32>, t: f32) -> vec4<f32> {
119
let mixed_srgb = mix(a, b, t);
120
- // Convert from sRGB back to linear RGB for GPU output
121
return vec4(pow(mixed_srgb.rgb, vec3(2.2)), mixed_srgb.a);
122
}
123
0 commit comments