Marbles are made by melting glass and shaping it into a round sphere . Different colors and patterns can be achieved by adding different pigments or layers of glass.