What does premultiplied alpha fix when blending textures?
- Dark fringes on filtered edges
- The need to sort transparency
- Texture compression artefacts
- 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 ▸