first attempt at texture compression