$ ./guess_the_languageGame Dev
Game Dev · hard · #250

What does premultiplied alpha fix when blending textures?

  1. Dark fringes on filtered edges
  2. The need to sort transparency
  3. Texture compression artefacts
  4. Gaps between tiles in an atlas
Filtering straight-alpha texels blends in the colour of fully transparent pixels, often black; premultiplying weights colour by alpha first, so edges stay clean.
Play Game Dev ▸