Hardware Ray Tracing Toggle

Using UE5, is there a way to toggle ray tracing on/off while the game is running? We would like to have an option in the options menu to enable or disable it.

I tried r.RayTracing.ForceAllRayTracingEffects but it didn’t seem to do anything.

Thanks!

1 Like