Inserting a 0 bit in the middle of a value (opens in new tab)
This one originally came up for me in Oodle Texture’s BC7 decoder. In the BC7 format, each pixel within a 4×4 block can choose from a limited set of between 4 to 16 colors (ignoring some…
Read the original article