WIP for updating the 3d textures.