GX_TL_RGB5A3
Posted: Wed Sep 20, 2023 1:59 pm
Hello,
i'm trying to add transparency to my paletted textures using GX_TL_RGB5A3
documentation says that MSB dictates both transparency and component format..
will it be for opaque texel/palette entry : msb is 1 (0x8000)
F E D C B A 9 8 7 6 5 4 3 2 1 0
MSB(1) R R R R R G G G G G G B B B B B
and for transparent : msb is 0
F E D C B A 9 8 7 6 5 4 3 2 1 0
MSB(0) R R R R G G G G B B B B A A A
???
In any case it draws opaque textures (blending is on)
Anyone has already succeeded with this format conversion ?
thx
i'm trying to add transparency to my paletted textures using GX_TL_RGB5A3
documentation says that MSB dictates both transparency and component format..
will it be for opaque texel/palette entry : msb is 1 (0x8000)
F E D C B A 9 8 7 6 5 4 3 2 1 0
MSB(1) R R R R R G G G G G G B B B B B
and for transparent : msb is 0
F E D C B A 9 8 7 6 5 4 3 2 1 0
MSB(0) R R R R G G G G B B B B A A A
???
In any case it draws opaque textures (blending is on)
Anyone has already succeeded with this format conversion ?
thx