2d tex cache example