4 ms·
Premultiplied alpha also means you don't have zero-alpha pixels with colour data.
by TazeTSchnitzel 11y ago
Premultiplied alpha also means you don't have zero-alpha pixels with colour data.
- the8472 11y agoThat's basically the extreme end of the destructiveness of premultiplication. You also lose precision in general, which can lead to a grey-brown soup at semi-transparent fringes. He mentions 16bit colors further down, but they're not always available, e.g. in webgl.
- wolfgke 11y agoOr you use floating point textures.
- wongarsu 11y agoBut even the smallest floating point format still has 16 bits per channel.
- Dylan16807 11y agoR11F_G11F_B10F, RGB9_E5 Both pack floating point RGB into 32 bits per pixel. Combine that with a separate alpha channel and you're only at 40. Don't ask me how spectacular the support is.