Fix 3d textures