Embodiments of the present disclosure provide a method, apparatus, device, and storage medium for generating a special effect image. Obtain current
light source information, the normal map of the original image, and the target object
mask image; wherein, the
light source information includes the
light source color, the light source position, and the illumination intensity; generate a target illumination map according to the normal map, the target object
mask image, and the light source information; fuse the target illumination map and the original image to obtain a target illumination special effect image. The method for generating a special effect image provided by the embodiments of the present disclosure can generate a target illumination map according to the normal map, the target object
mask image, and the light source information, and can generate a special effect image with a lighting effect, which can enrich the display content of the image.