Both the height and the width of the picture I want to show is divisible by 16. So what am I doing wrong here? Why won't it show anything but green? It's supposed to be an orange.
Jump to content
Posted Thu Mar 1, 2018 2:29 AM
Posted Sun Mar 4, 2018 3:24 AM
8-bit images, 256 colours, use all 256 colour registers - the whole CLUT. It's not like 16-bit where it's Red-Blue-Green values described per pixel, it's like 1-, 2- and 4-bit images that have an array of colours indexed by these bits.
You need to set your object to CLUT 0 or no_CLUT (IIRC, both will work), and have assets.txt create a CLUT file and fire that data at the CLUT.
If that doesn't work, maybe your image tool is shipping broken files, or maybe you're overwriting sections of the CLUT with other palette data for other objects.
Simple solution if you do not require palette adjusting for the object is make it 16-bit. If that doesn't suit your needs, you're going to have to make your orange graphic's 256 colour palette suitable for both it and any other sub-16-bit objects you want to use and carefully manage your CLUT.
Posted Fri Mar 9, 2018 3:42 AM
Neither suggestion worked. Why won't this stupid picture go in?
Edited by ggn, Fri Mar 9, 2018 3:42 AM.
0 members, 0 guests, 0 anonymous users