Fixed the issue that is similar to commit #4 but for example 12.
I pulled the line out of the conditional branch but also had to use OPTIX_DENOISER_INPUT_RGB_ALBEDO instead of OPTIX_DENOISER_INPUT_RGB because example 12 uses two channels for denoising.
Related Issue: #9
Description
Fixed the issue that is similar to commit #4 but for example 12. I pulled the line out of the conditional branch but also had to use
OPTIX_DENOISER_INPUT_RGB_ALBEDO
instead ofOPTIX_DENOISER_INPUT_RGB
because example 12 uses two channels for denoising.