Is it possible to turn on/off rtx on a device through sccript?
If so what is switch?
./rrb
RTX on/off switch
You can get a NT_LOCAL_APP_PREFS node from octane.project.getPreferences().
Try the following:
Try the following:
Code: Select all
local useRTX = true
local nodePrefs = octane.project.getPreferences()
nodePrefs:setAttribute(octane.attributeId.A_USE_RTX_BACKEND, useRTX, true)