1. image: download

    There was a bug in my implementation of those dithering filters for 24-bit and 32-bit images, and that’s why they looked so bad.Now they’re fixed, plus I’ve implemented several dithering filters along the way:- Sierra Lite- Floyd–Steinberg- Atkinson- Stucki- Sierra- And my own, which is just an “diffuse the entire error to the next pixel”.Sierra Lite will be the only one enabled, since it’s the one that gave the best results on this skybox.Also, I suspect there’s another undiscovered memory leak on the skybox code, because the amount of memory allocated by the engine raises every time a skybox is loaded, and doesn’t go down. I suspect that the file loading functions may be the culprit.

    There was a bug in my implementation of those dithering filters for 24-bit and 32-bit images, and that’s why they looked so bad.

    Now they’re fixed, plus I’ve implemented several dithering filters along the way:
    - Sierra Lite
    - Floyd–Steinberg
    - Atkinson
    - Stucki
    - Sierra
    - And my own, which is just an “diffuse the entire error to the next pixel”.

    Sierra Lite will be the only one enabled, since it’s the one that gave the best results on this skybox.

    Also, I suspect there’s another undiscovered memory leak on the skybox code, because the amount of memory allocated by the engine raises every time a skybox is loaded, and doesn’t go down. I suspect that the file loading functions may be the culprit.