Substrate material in NvRTX 5.4 version with ReSTIR

Hello,

I’ve tried to run the latest NvRTX 5.4 branch with ReSTIR GI but when i try to enable Substrate materials I get the “FComputeSurfaceComplexity’s required shader parameter FParameters::SceneTextures::GBufferATexture was not set.” error.

Did anyone find any workaround this error?

Same problem. Would love to use these features but unable to run both ReSTIR and substrate materials.

I’ve found the likely cause for the issue, but I haven’t a clue how to fix it. The problem is that substrate changes how the FGBufferData works. As in pbr workflow FGBufferData has GBuffer textures for all maps, whereas substrate only uses GBuffer texture in anisotropic data and InMRT1 (which i don’t know what exactly is). So basically ReSTIR tries to read the substrate FGBufferData like it read the pbr FGBufferData and it fails.

I don’t know how to fix any of this but if someone knows a workaround or a fix I would really love to try it!

Encountering this issue now myself. Any updates on if anyone here was able to find a solution?