2 ms·
Originally I was using greyscale and dithering (I have another bespoke tool for exploring a dozen or so dithering algorithms) but the results were less than ide
by msephton 5y ago
Originally I was using greyscale and dithering (I have another bespoke tool for exploring a dozen or so dithering algorithms) but the results were less than ideal. Dithering works great at larger sizes, but with my final sprites being only 30x30px (much, much smaller than the example images in the blog post) the results were a mess.
After the exploration with greyscale, as the blog post hopefully explains, I moved from to pulling out black and white separately - which gave better results - to this RGB Channel approach to generate the masks more easily.
I have headroom to squeeze another colour by using the alpha channel as the base colour and using the free colour for some other detail. But so far I've not needed to. Though good to know it's there if I need it to be!