The invention discloses a 3D
digital human mixed shadow generation method and
system, a medium and equipment, and the method comprises the following steps: S1, main shadow generation: carrying out the real-time light tracing of a main
light source, and generating a main shadow; s2, secondary shadow generation: generating a secondary shadow for the dynamic scene by using
cascade shadow mapping; s3, soft shadow and penumbra
processing: generating a soft shadow by using percentage asymptotic filtering or variance
shadow mapping; s4,
global illumination shadow: calculating the influence of indirect illumination on the main shadow, the secondary shadow and the soft shadow by using a real-time
global illumination technology, and generating a
global illumination shadow; s5, dynamic shielding
processing: detecting the shielding relationship between the digital person and the environment in real time, and adjusting the generation algorithms of the main shadow, the secondary shadow and the soft shadow; s6, model optimization: using a
deep learning model to carry out
noise reduction or
resolution improvement on the shadow; and S7, shadow synthesis: synthesizing the main shadow, the secondary shadow, the soft shadow and the global illumination shadow. The method has the advantages of improving the shadow quality and ensuring the real-time interaction of the shadow.