xsquawkbox / libxplanemp

Legacy X-Plane Multiplayer Library used by XSquawkBox 2.x and earlier.
18 stars 7 forks source link

Downsampling and Alpha-channel conversion of chromakeyed textures is done in wrong order #10

Open kuroneko opened 7 years ago

kuroneko commented 7 years ago

When we have a chromakeyed texture, we're downsampling before doing the alphachannel conversion.

This means that any region downsampled containing transparent pixels will not only have incorrect alpha in the final texture, but also magenta hue-shift from the downsampling done incorrectly.