Skip to content

Commit 1f1b7ee

Browse files
committed
use positionNode for initMatricesTexture
1 parent 55438e4 commit 1f1b7ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/InstancedMesh2.webgpu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export function extendInstancedMesh2PrototypeWebGPU(): void {
5353
}
5454
// Set the node for instance matrix in the material
5555
if (this._currentMaterial) {
56-
(this._currentMaterial as any).matricesTexture = getInstancedMatrix(uniform(this.matricesTexture));
56+
(this._currentMaterial as any).positionNode = getInstancedMatrix(uniform(this.matricesTexture));
5757
}
5858
};
5959

0 commit comments

Comments
 (0)