Dithering: Part I
Added 2018-04-25 01:30:37 +0000 UTCthis tutorial's password is: comehitherletusdither
Comments
I think it's fine! The only downside is that in order to implement negative values in the dither pattern, you'll need to do extra prep work with the texture and define a new neutral color value that isn't 0 (since most texture formats that you can open in image editing programs don't support negative color values). You could have the texture values start at 126 so that you can go above and below 0 and still have a lot of space to work in towards both positive and negative values in the pattern.
ompuco
2018-04-25 03:19:39 +0000 UTCThis is cool. What are your thoughts on using tiny textures as a dither matrix? It's a teensy bit slower (texture reads ayy) but you get a bit more compatibility for older graphics libraries that don't have array literals Also you can make like 16x16 patterns that have weird shapes!
Sam Loeschen
2018-04-25 02:28:23 +0000 UTC