Method of manufacturing a photovoltaic module comprising the steps of: - providing a lamination device; - disposing in said lamination device a layer stack comprising: - a front sheet intended to be arranged on a light incident side of said photovoltaic module; - a back sheet intended to be arranged on an opposite side of said photovoltaic module to said front sheet; - a photovoltaic conversion device disposed between said front sheet and said back sheet; - at least one front encapsulation layer disposed between said photovoltaic conversion device and said front sheet, said front encapsulation layer comprising pigment particles distributed therein; - applying heat and pressure to said layer stack so as to assemble it into said photovoltaic module, wherein said front encapsulation layer comprises a first film and a second film, said first film being situated closer to said front sheet than said second film and comprising a higher concentration of pigment particles than said second film, characterized in that said first film is at least partially cross-linked and has a complex viscosity greater than 20,000 Pa.s at 85°C, greater than 15,000 Pa.s at 105°C, and greater than 5,000 Pa.s at 165°C, and wherein said second film has a complex viscosity less than 100,000 Pa.s at 85°C, less than 20,000 Pa.s at 105°C, and less than 10,000 Pa.s at 165°C, the 165°C conditions being optional if lamination temperature is less than 165°C. - providing a lamination device; - disposing in said lamination device a layer stack comprising: - a front sheet intended to be arranged on a light incident side of said photovoltaic module; - a back sheet intended to be arranged on an opposite side of said photovoltaic module to said front sheet; - a photovoltaic conversion device disposed between said front sheet and said back sheet; - at least one front encapsulation layer disposed between said photovoltaic conversion device and said front sheet, said front encapsulation layer comprising pigment particles distributed therein; - a front sheet intended to be arranged on a light incident side of said photovoltaic module; - a back sheet intended to be arranged on an opposite side of said photovoltaic module to said front sheet; - a photovoltaic conversion device disposed between said front sheet and said back sheet; - at least one front encapsulation layer disposed between said photovoltaic conversion device and said front sheet, said front encapsulation layer comprising pigment particles distributed therein; - applying heat and pressure to said layer stack so as to assemble it into said photovoltaic module, wherein said front encapsulation layer comprises a first film and a second film, said first film being situated closer to said front sheet than said second film and comprising a higher concentration of pigment particles than said second film, characterized in that said first film is at least partially cross-linked and has a complex viscosity greater than 20,000 Pa.s at 85°C, greater than 15,000 Pa.s at 105°C, and greater than 5,000 Pa.s at 165°C, and wherein said second film has a complex viscosity less than 100,000 Pa.s at 85°C, less than 20,000 Pa.s at 105°C, and less than 10,000 Pa.s at 165°C, the 165°C conditions being optional if lamination temperature is less than 165°C. wherein said front encapsulation layer comprises a first film and a second film, said first film being situated closer to said front sheet than said second film and comprising a higher concentration of pigment particles than said second film, characterized in that said first film is at least partially cross-linked and has a complex viscosity greater than 20,000 Pa.s at 85°C, greater than 15,000 Pa.s at 105°C, and greater than 5,000 Pa.s at 165°C, and wherein said second film has a complex viscosity less than 100,000 Pa.s at 85°C, less than 20,000 Pa.s at 105°C, and less than 10,000 Pa.s at 165°C, the 165°C conditions being optional if lamination temperature is less than 165°C.