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: The first object always has World lighting on regardless the `Scene Lights` value #85

Closed KirilStrezikozin closed 1 month ago

KirilStrezikozin commented 5 months ago

This bug report is:

Describe the bug fenhuanwang reported on Discord:

When I was baking combined, everything was normal using Bake This. When using Bake All, only the first baked image was normal, while the rest of the baked images did not have HDRI lighting.

To Reproduce Steps to reproduce the behavior:

  1. Set up a simple scene with HDRI in the World shader material.
  2. Add several objects to BakeMaster and bake Diffuse (Color, Direct) for them.
  3. Notice that while baking, BakeMaster turns off world lighting for all objects except the first one.
  4. Put objects in a Bake Job Group and tick Scene Lights in the container's Decal settings.
  5. Rebake and see that all objects get World lighting contribution.

Expected behavior After resolving #82, World lighting mute and Scene Lights is expected to work properly. This bug fix expects World lighting to reflect the state of Scene Lights properly and world shader nodes to mute for either all or no objects while baking.

Screenshots Not relevant for now.

Desktop (please complete the following information):

KirilStrezikozin commented 5 months ago

this is brought by 2.6.0 and 2.6.1