When 8 bits is not enough for lightmaps


[back]

The problem: lightmaps typically cover many pixels on screen and...

rounding shows ugly banding:



dithering lightmaps shows visible noise:



my solution: rgb palette (1-bit per channel table) has minor hue artifacts in dark areas but banding completely disappears:



How it works