3 ms·
Is there a reason why GPUs can not do alpha-aware interpolation?
by zokier 11y ago
Is there a reason why GPUs can not do alpha-aware interpolation?
- wongarsu 11y agoGPUs don't know whether the texture even has alpha data. All the GPU knows is that there is an image with 4 channels (and the data type of those channels), but it's the shader that gives meaning to those channels. Having three colour channels and one alpha channel is a common case, but you can also use the four channels for entirely different purposes, like 4 grayscale images, or encoding 4d coordinates as "image".