Forgot to update comment describing render pipeline
This commit is contained in:
parent
714bee7f45
commit
f44c3a4606
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user