title: How can I create a tightly packed uniform buffer of unsigned bytes?
body: <p>Basically the title. This is an array that contains millions of numbers, so I want to minimize the space it takes up on the graphics card. Unfortunately, arrays in the std140 layout have a base alignment of 16 bytes, and GLSL doesn't have a built-in <code>unsigned char</code> type, so I'm not sure how I can do this efficiently.</p>