The following are the effects of the two solutions I have tried
Option A: Use nanite mesh+lumen+hardware light tracing
As shown in the figure : The shadow calculated by hardware light tracing is based on Nanite fallback mesh
Option B: Use nanite mesh+lumen+distance field of mesh
As shown in the figure: The red box shows the shadow before the wpo of some triangular faces, while the blue box shows the shadow after the wpo of some triangular faces
I want the shadow to match the mesh after the WPO, so I hope everyone can help me. Thanks