diff --git a/kitty/cell_fragment.glsl b/kitty/cell_fragment.glsl index 223421c9c..fb3143652 100644 --- a/kitty/cell_fragment.glsl +++ b/kitty/cell_fragment.glsl @@ -78,8 +78,8 @@ vec4 blend_onto_opaque_premul(vec3 over, float over_alpha, vec3 under) { * 2a) Opaque bg with images under text * There are multiple passes, each pass is blended onto the previous using the opaque blend func (alpha, 1- alpha): * 1) Draw only the default background - * 2) Draw the images that are supposed to be below both the background and text. This happens in the graphics shader - * 3) Draw the background of cells that don't have the default background + * 2) Draw the images that are supposed to be below both the background and text, if any. This happens in the graphics shader + * 3) Draw the background of cells that don't have the default background if any images were drawn in 2 above 4) Draw the images that are supposed to be below text but not background, again in graphics shader. * 5) Draw the special cells (selection/cursor). Output is same as from step 1, with bg_alpha 1 for special cells and 0 otherwise * 6) Draw the foreground -- expected output is color with alpha which is blended using the opaque blend func