Log In  

Cart #32609 | 2016-11-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
13

I've been playing around with Floyd–Steinberg dithering in order to achieve more continuous color gradients.

This is slow as molasses of course, and even with optimization I don't think it could be used in a game. But perhaps it could be used in a ray tracer or other, more temporally relaxed image generation applications.

P#32610 2016-11-18 14:21 ( Edited 2016-11-18 20:08)

Wow, that's a really nice effect, yeah.

Probably a good starting point as inspiration for folks thinking about more down-to-earth approaches to dithering via sprites; a small set of dithering steps in 8x8 sprites plus some lookup tables for pal() swapping in appropriate steps across several likely gamuts could probably allow for pretty darned fast dynamic dithering of a tiled background or whatever for some pretty if less-flexible effects.

P#32611 2016-11-18 15:08 ( Edited 2016-11-18 20:08)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 11:11:37 | 0.010s | Q:19