The application discloses a real-time dynamic light rendering optimization method based on Unreal Engine, and relates to the field of light rendering. Firstly, based on a camera view cone and AI
context data, shadow importance scores are assigned to each mesh object in a scene, and potential shadow casters are prioritized. Then, performance budget evaluation is performed in combination with the current
frame rate and GPU load, and intelligent shadow
projector selection and LOD application are performed on the sorted shadow
caster list accordingly. Finally, these optimized rendering shadow batches are sent to the light perspective rendering and VSM page filling processes to generate movable
light source optimized virtual shadow. This method significantly reduces unnecessary computational overhead, thereby greatly improving rendering efficiency and
frame rate stability while ensuring high-quality dynamic
light effects, effectively solving the core problem of balancing traditional performance and quality.