Home Creators Posts Import Register Favorites Logout

Content

this tutorial's password is: comehitherletusdither

Files

Dithering: Part I

Visit the post for more.

Comments

Sam Loeschen

This 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!

ompuco

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.