pbrt-v4
pbrt-v4 copied to clipboard
Corrected denoiseAlpha parameter type
During experiment with the PBRT build failed due to parameter type mismatch.
nVIDIA OptiX-SDK-7.5.0 F36 GCC Version 12.1.1
@1div0 You need at least a Optix version control to apply this patch. I'm on Optix 7.4 and this option not seems available.
#if (OPTIX_VERSION > 70400)
params.denoiseAlpha = OPTIX_DENOISER_ALPHA_MODE_COPY;
#else
params.denoiseAlpha = 0;
#endif
Thank you!
(And I will add optix 7.5 to the automated builds now as well.)