Skip to content

Baked emission has no effect when parent object has a Bakery Lightmap Group component #48

Description

@affectioned

Description:

Emission set to "baked" on a Mochie shader does not contribute to the lightmap when the parent GameObject has a Bakery Lightmap Group component attached.

Steps to Reproduce:

  1. Create a GameObject marked as Static with a Bakery Lightmap Group component
  2. Add a child GameObject using a Mochie shader with emission enabled and set to Baked
  3. Set both the Bakery instance and shader to MonoSH mode
  4. Bake lighting

Expected Result:
The child object's baked emission contributes to the lightmap as normal.

Actual Result:
The emission has no effect on the bake — no light contribution appears in the lightmap.

Workaround:
Removing the Bakery Lightmap Group component from the parent causes emission to bake correctly.

Environment:

  • Unity version: 2022.3.22f
  • Bakery version: 1.98
  • Mochie shader version: 2.9.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions