Fix T85148: OptiX viewport denoising regression
Commit 6e74a8b69f
changed the denoiser input passes default to
include the normal pass. This does not always produce optimal images though, hence why the
default was previously set to only include the color and albedo passes. This restores that behavior, so
that viewport denoising with OptiX produces the same results as before.
This commit is contained in:
parent
821df20797
commit
9f89166b52
Notes:
blender-bot
2023-02-14 12:01:57 +01:00
Referenced by issue #85148, Viewport Optix glitches
|
@ -100,7 +100,9 @@ class DenoiseParams {
|
|||
neighbor_frames = 2;
|
||||
clamp_input = true;
|
||||
|
||||
input_passes = DENOISER_INPUT_RGB_ALBEDO_NORMAL;
|
||||
/* Default to color + albedo only, since normal input does not always have the desired effect
|
||||
* when denoising with OptiX. */
|
||||
input_passes = DENOISER_INPUT_RGB_ALBEDO;
|
||||
|
||||
start_sample = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue