support for mipmaps, no mipmaps, arb and no-arb