* TSL: Fix setUsage on non-interleavedBuffer attributes * test fix pup * cleanup ---------
@@ -126,6 +126,12 @@ class BufferAttributeNode extends InputNode {
this.usage = value;
+ if ( this.attribute && this.attribute.isBufferAttribute === true ) {
+
+ this.attribute.usage = value;
+ }
return this;
}
@@ -155,8 +155,6 @@
- mesh.instanceMatrix.needsUpdate = true;
-
await renderer.render( scene, camera );