1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-23 23:21:08 +03:00

remove overzealous alpha manipulation

This isn't a complete fix, but it's best to get this out
of the way and then take another pass as the dark outline.

refs: #491
This commit is contained in:
Wez Furlong 2021-02-17 21:46:03 -08:00
parent 83da7216c3
commit d886de8300

View File

@ -88,7 +88,7 @@ vec4 colorize(vec4 glyph, vec4 color) {
vec4 colorize_hsv(vec4 glyph, vec4 color) {
vec3 hsv = rgb2hsv(color.rgb);
hsv.b *= glyph.a;
return vec4(hsv2rgb(hsv) / glyph.a, glyph.a);
return vec4(hsv2rgb(hsv), glyph.a);
}
void main() {