question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Apply Modifiers" ignores material slots.

See original GitHub issue

Describe the bug Some modifiers, like Geometry Nodes and Boolean, can alter the number and settings of material slots on the object and data.

The “Apply Modifiers” export option ignores that.

To Reproduce Steps to reproduce the behavior:

  1. Create a collection with at least one object that has a material in it.
  2. Use a Geometry Nodes modifier to instantiate and realize that object into a second object that has no material slots.
  3. Export with “Apply Modifiers” enabled.

The exported geometry from the modifier will not have the material.

Expected behavior image

Screenshots image

(The missing “Instanced” geometry is normal/expected/a different issue, but I included it for the sake of completeness.)

.blend file/ .gltf GeometryNodeMaterials.blend.zip

Version

  • OS: Water Ostriches (Linux)
  • Blender Version blender-3.2.0-alpha+master.95005bbe02cf-linux.x86_64-release

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
juliendurourecommented, Feb 8, 2022

Instancing (including E.G. Empties, Dupliverts)

Next version should export them (planned for 3.2). Please test #1378 branch or build here: https://builder.blender.org/download/experimental/gltf_vtree/

Realize Instances

Yes, sure. This is exported when using Realize Instances node. Else not.

0reactions
juliendurourecommented, Nov 6, 2022

This will be solved by PR #1783 or #1786

Read more comments on GitHub >

github_iconTop Results From Across the Web

Screw Modifier with different materials on faces
The modifier is not material slot aware, it has no Material Offset options like Solidify nor can Material Slots be stored on edges....
Read more >
Modifier - Android Developers
Attempts to use this Modifier on older Android versions will be ignored. ... individual content slots and then draws a placeholder shimmer over...
Read more >
Modifiers | Tinkers' Construct 2 Wiki - Fandom
All Tinker's Construct tools can be modified to allow for certain upgrades. They are listed below (and in the Materials and You book...
Read more >
If a modifier is animated, will the animation be lost when the ...
Applying a modifier that is not first in the stack will ignore the stack order (it will be ... It can export the...
Read more >
Solidify Modifier — Blender Manual
On 1.0 , the weights are ignored and the Thickness value is used for every vertex. Flat Faces Complex Mode. Use the minimal...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found