rpixels[i] = src.GetPixelBilinear((CubemapFace)f, sx * (float)x, sy * (float)y);
}
cache.SetPixels(rpixels, (CubemapFace)f, sliceIndex);
cache.Apply();