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
GX_TL_RGB5A3
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: GX_TL_RGB5A3
3 alpha bits are at the top. i.e. it's
0AAARRRRGGGGBBBB or 1RRRRRGGGGGBBBBB
0AAARRRRGGGGBBBB or 1RRRRRGGGGGBBBBB
Who is online
Users browsing this forum: Ahrefs [Bot] and 0 guests