Skip to content

Objects with "Optimize for Instancing" option and different material appear with one material #350

@usakhelo

Description

@usakhelo

Discovered this bug while working on ActiveShade PR. To reproduce do the following:

  1. Create an object
  2. Apply appleseed modifier and check "Optimize for Instancing"
  3. Make one or more instances of the object
  4. Assign different materials to the instances
  5. Render. Objects are rendered with one material due to assembly_map cache. First object assembly contains object and it's material and subsequent instances use the same assembly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions