When custom instance data is used to calculate WPO in a Material and applied to an ISM the WPO value in the Lumen scene (ray tracing scene) is different than the visible scene resulting in incorrect shading and shadow-like artifacts.
1. Download the attached project and open the Issue level
2. Enable r.RayTracing.Geometry.InstancedStaticMeshes.EvaluateWPO 1
3. Enable the Lumen scene visualization mode
Expected
The mesh in the ray tracing and Lumen scene is the same as the visible mesh
Actual
The mesh in the ray tracing and Lumen scene seems to follow the behavior of the first instance instead of taking into account the custom instance data. This also appears to be the case if PerInstanceRandom is used.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-330661 in the post.
0 |
Component | UE - Graphics Features - Ray Tracing |
---|---|
Affects Versions | 5.3, 5.6, 5.6.1 |
Created | Sep 19, 2025 |
---|---|
Updated | Sep 19, 2025 |