I have encountered this issue in two separate projects and it is causing a lot of headache. I am having a hard time pinning down the cause so I cannot give an amazing guide to reproduce this. I have attached a project with a scene that demonstrates this however.
The Issue is that that the render thread will jump up to 14-20ms on a relatively simple scene when using ray traced distance field shadows on 4.15.
Toggling ray traced distance field shadows on and off will also toggle the extra 14-18ms on the CPU, while the GPU maintains 6ms shadows off vs 11ms shadows on - but the frame time will be around 20ms.
The attached project should demonstrate this. Add more occluders or shadow casting light sources to exaggerate the issue.
Windows 10, gtx 980, intel x99 platform
Screens from my profiling session are attached and the
–
[PROJECT CAN BE FOUND HERE][1]
Please note
The issue only appears when playing in VR, with a VIVE in my case
the the setup in this project with the bunch of lights in one spot is a little ridiculous but I to reproduce it somehow. I have another real world project where the same thing happens with just one directional light and one sky light in a scene with like 50 static meshes and 20 rather simple skeletal meshes.
–


