Dithered greyscale tiles

I am looking for a neat way to draw a grid of dithered greyscale tiles. So far I've been stumped:

  1. drawing a scaled up greyscale image, with setDitherPattern (greyscale images not supported)
  2. drawing a tile map using a set of greyscale dither images generated with image:fadedImage (generated image table not supported)

Looks like the only way is to pre-render an asset with all those dither tiles.

Yeah, to clarify - my feature requests are:

  1. greyscale images, that are either snapped to 1 bit or screen space dithered on the fly using setDitherPattern
  2. API to construct image table from images at runtime

will post a video of what I'm working on

Wow, +100 answer!

Love what I've seen of your cars.

Regards,
Finn

torch_test

6 Likes

Yeah, toying with the idea! Did you play it back then? I'm waiting for Super Hexagon..

Regards,
Finn

lighting is real-time in that video btw