This application discloses a method, apparatus, device, medium, and product for generating soft shadow maps, belonging to the field of 3D rendering. The method includes: obtaining a first
mesh model corresponding to at least one virtual object in a virtual scene; increasing the number of vertices in the first
mesh model corresponding to the at least one virtual object to obtain a second
mesh model corresponding to the at least one virtual object; and generating a soft shadow map of the first mesh model corresponding to the at least one virtual
object based on the second mesh model, wherein the soft shadow map is used to generate soft shadows for the at least one virtual object, and the soft shadow is a shadow with varying shadow parameters in the
edge region. This method generates soft shadows based on the refined second mesh model corresponding to at least one virtual object, enabling the generation of more realistic soft shadow effects.