Dual-Source Blending
Introduction This post explores a little-known feature of alpha blending in Metal: dual-source blending. We’ll start with a quick overview of blending, then look at why dual-source blending exists and how it works. We’ll use it to make an sRGB-agnostic GUI system compatible with sRGB render targets, then refine the approach with programmable blending. The […]