Textured cube rendering for metaballs