3d Cubes in Gradient