The invention is related to a new type of glass that can absorb Infra-Red (IR) wavelength to reduce the effect of high temperature. It can be used in curtain-glass buildings as it can reduce the heat effect during hot weather. Furthermore, it has the advantage of reducing power consumption. This type of glass is prepared using a new doping method which is also an economical method.