added 3D cube overlay support