Ray tracing tickbox in game menu?

I get that a project is either Ray Tracing ON or OFF but how does that work for the end-user who may or may not have hardware to support it? Does it detect that they can’t and adjust accordingly, or does a ray traced project require users have the hardware? Or can the ingame Graphics Options menu simply have a Ray Tracing tickbox?

Apologies if this is a dumb question, but I can’t find anything about it.


If a project uses ray tracing can it be a toggleable option for the user?

Not directly. It requires a restart at the very least.
Download, install, and try out fortnite. Copy how they do it there.

You can use Rama’s plugin to get the GPU name, then check to see if that GPU supports raytracing (following code only works for RTX):