ingowald / optix7course

Apache License 2.0
452 stars 80 forks source link

fix example 12 denoiserOptions error #14

Closed IsseiMori closed 3 years ago

IsseiMori commented 3 years ago

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 of OPTIX_DENOISER_INPUT_RGB because example 12 uses two channels for denoising.

ingowald commented 3 years ago

sorry it took so long to merge - didn't even see this until now. thx!