◄ Wiki / Graphics
blending
Mixing a newly drawn pixel's colour with the colour already sitting in the framebuffer, instead of overwriting it.
Blending is how transparency, glow, and layering effects happen: rather than replacing the existing pixel, the GPU computes a weighted combination of the incoming fragment and the stored colour. The weights come from blend factors (like the fragment's alpha) and are joined by an operation such as add or subtract. It is the last step before a fragment becomes a stored pixel.
See also
- blend matrixThe full grid of ways a new pixel colour can be mathematically combined with the colour already on screen.
- framebufferA framebuffer is the block of memory holding the image being rendered, essentially the picture that becomes the screen.
- builtinSpecial pre-defined variables a shader program reads from or writes to in order to talk to the graphics pipeline.