I created a vector drawing with about 5 colours in it...I am then using a render texture and glReadPixels to read unique colours in the image (bitmap export) to create colour buttons....one for each unique colour in the bitmap.
Much to my surprise it created 2,000 buttons....when I was expecting 4.
I think much of it is to do with the dithering and antialiasing in the Bitmap export....creating a whole palette of colors I dont want...
Cant see a way to turn off the effect in Inkscape...and dont want to have to revert to using straight bitmap authoring for my art work....
Another great idea thwarted at the first hurdle....if I can't get down to just the 4/5 colours I use in Inkscape...I dont have a game!
Regards
i