Download

Tweaking Ray Tracing performance

Hi all,

I’m having a bit of an issue with my scene.
I’m using ray tracing for shadows and reflection, but when I disable those I dont get any significant performance boost.
However, if I try r.RayTracing.ForceAllRayTracingEffects 0 I get a significant boost.
So my question is, how can I disable all the RT stuff but leave only reflections and shadows?
Or more specifically, what does r.RayTracing.ForceAllRayTracingEffects 0 actually disables? Because I could also try to disable them one by one and just leave reflections and shadows.

My current scene with reflections and shadows (directional light)

The same scene with shadows and reflections manually disabled

The same scene with r.RayTracing.ForceAllRayTracingEffects 0

It almost doubles the performance, there is something there being turned off that seems to be useless to me, but costs a lot.

I’d like to know about that too. I also noticed that even if I turned off all the RT features from the Editor, it shows significant usage in the stat gpu view.