KirilStrezikozin / BakeMaster-Blender-Addon

Welcome to BakeMaster, a powerful and feature-packed baking solution created for Blender - an open-source 3D Computer graphics software.
Other
34 stars 6 forks source link

BUG: Dither render setting adds unwanted noise to composited bakes. #93

Closed KirilStrezikozin closed 3 months ago

KirilStrezikozin commented 3 months ago

This bug report is:

Describe the bug Dither Intensity property in the Render Post Processing settings affects bake results that go through the Compositor (denoising, channel pack, decal bake, compositor nodes). It adds unwanted dithering noise that is somewhat noticeable in areas dominated by a single color.

To Reproduce Steps to reproduce the behavior:

  1. Set up a compositing node tree without nodes besides connected Render Layers into the final Composite node.
  2. Tick 'Use Compositor` in BakeMaster Color Management settings.
  3. Bake an ID map using the Hue color generation algorithm.
  4. Zoom in on the baked ID map and see dithering noise.

Expected behavior Subtle dithering noise does not break ID maps and is barely noticeable. Still, it is visually confusing to see maps have a noisy post-processing effect. Dithering Intensity must be set to 0 before baking.

Screenshots Zoomed-in area of a purple segment on ID map: image

Desktop (please complete the following information):

Additional context Render Post Processing settings include the Dither Intensity property:

Dither Intensity: Amount of dithering noise added to the rendered image to break up banding.

BakeMaster resets it to the default value of 1 before each bake:

context.scene.render.dither_intensity = 1.0
...

It should be 0 instead.