Using: 5070ti, GameReady driver 591.86 and latest NvRTX branch 5.7.2 compiled with VS 2022 without build errors
Creating a new blank c++ project and setting r.SampledLighting.Direct 1 or r.SampledLighting.Indirect 1 in console or enabling raytraing rtxdi in project settings results in fatal error:
[File:C:\UnrealEngine\Engine\Source\Runtime\RenderCore\Private\ShaderParameterStruct.cpp] [Line: 473]
FInjectMegaLightsCS’s required shader parameter FParameters::MegaLightsAmbient was not set.
Things ive checked/tried:
hardware raytracing is on, enabling denoising or RayReconstruction, disabling lumen, turning off virtual shadows, turning off nanite, turning megalight on/off, creating an empty scene and just placing a cube and a directional light im still getting this error
The demo and example rtxdi scenes work out of the box - did anybody else have the same issue?
edit: removing r.Substrate=True from DefaultEngine.ini fixed it