1. A method of generating an environment map representative of lighting information of a real environment, comprising: acquiring in real time an image representative of a partial lighting information corresponding to a partial representation of said real environment from an image acquisition device, said image comprising a plurality of pixels, generating said environment map by: applying said partial lighting information to a first part of the environment map; applying values of pixels of a border of said image to at least a second part of the environment map, the second part being different from the first part; and applying a value corresponding to a mean value of at least a part of the pixels of said image to a third part of the environment map, said third part being different from the first part and the second part.