Page MenuHome

Cycles: Scale denoising albedo contribution of Principled BSDFs according to average fresnel
ClosedPublic

Authored by Lukas Stockner (lukasstockner97) on Fri, Nov 22, 11:12 AM.
Tags
None
Tokens
"Love" token, awarded by zanqdo."Baby Tequila" token, awarded by EAW."Pterodactyl" token, awarded by Grische."Like" token, awarded by YAFU."Love" token, awarded by swerner.

Details

Summary

The Principled BSDF uses Microfacet closures that include a fresnel term,
which are a special case since their weight tends to be near white even
if their average contribution is fairly low.

The sample weight is scaled by the average fresnel weight to account for
this, but the denoising albedo still used the unscaled weight.

This was fine for the original denoiser, but apparently OIDN can't handle
the resulting albedo pass well. Therefore, this commit adds the described
scaling to the albedo pass contribution as well.

This problem was described in T69770.

Diff Detail

Repository
rB Blender