Cycles: Update OptiX denoiser type

Update the OptiX denoiser model type to the newer and more frequently
updated `OPTIX_DENOISER_MODEL_KIND_AOV` denoiser.

The output of the new denoiser type is typically higher quality.
And the old denoiser is no longer being updated.

Original change was proposed by Patrick Mours from NVIDIA.

Pull Request: https://projects.blender.org/blender/blender/pulls/132542
This commit is contained in:
Alaska
2025-01-03 14:11:44 +01:00
committed by Alaska
parent 61f8364dd1
commit 793918f2b1

View File

@@ -256,7 +256,7 @@ bool OptiXDenoiser::denoise_create_if_needed(DenoiseContext &context)
denoiser_options.guideAlbedo = context.use_pass_albedo;
denoiser_options.guideNormal = context.use_pass_normal;
OptixDenoiserModelKind model = OPTIX_DENOISER_MODEL_KIND_HDR;
OptixDenoiserModelKind model = OPTIX_DENOISER_MODEL_KIND_AOV;
if (context.use_pass_motion) {
model = OPTIX_DENOISER_MODEL_KIND_TEMPORAL;
}