ra’s avatarra’s Twitter Archive—№ 36,613

        1. rough prototype of a pico 8 style low res indexed renderer in glsl is working
          oh my god twitter doesn’t include alt text from images in their APIoh my god twitter doesn’t include alt text from images in their APIoh my god twitter doesn’t include alt text from images in their API
      1. …in reply to @ra
        all it needs is a drawing api ✌🏽
        oh my god twitter doesn’t include alt text from images in their API
    1. …in reply to @ra
      loaded pico-8's palette and yeah this is a ton of fun
      oh my god twitter doesn’t include alt text from images in their API
  1. …in reply to @ra
    here's the wild thing: 128*128 is pico8's resolution, and an integer is 4 bytes. 128*128*4=65536 bytes, which is the *exact* maximum size of a uniform block on my nvidia card. down to the byte. whew.
    1. …in reply to @ra
      really, 4 bytes is way too big for an index, but i dont know how to pass an integer type smaller than that. 8 or even 4 bits is plenty for what i intend to do. any ideas on how to pass arrays of smaller integer types as uniform blocks to opengl?