NodeMaterialObeserver: Fix detection of replaced attribute/index.#32933
NodeMaterialObeserver: Fix detection of replaced attribute/index.#32933Mugen87 merged 1 commit intomrdoob:devfrom
Conversation
📦 Bundle sizeFull ESM build, minified and gzipped.
🌳 Bundle size after tree-shakingMinimal build including a renderer, camera, empty scene, and dependencies.
|
|
@sunag Unrelated to this PR but since the other PR modified below code section: three.js/src/materials/nodes/manager/NodeMaterialObserver.js Lines 590 to 596 in ca544b9 This bit is actually a bandage and should be removed from For that, I believe we have to build the node materials after the render lists are ready but before The node material build is currently triggered in Besides, "frame" and "render" bindings are unnecessarily updated too often. To sum up, the renderer should do this:
|
|
I'm trying to have a look at this when the bind group cache is fixed. This is a performance issue that affects all Besides, I'm not sure what design plans @sunag has with the viewport nodes and |
Fixed #32926.
Description
Ensures
NodeMaterialObeservercan detect replaced geometry attributes and indices.