diff --git a/examples/jsm/nodes/materials/NodeMaterial.js b/examples/jsm/nodes/materials/NodeMaterial.js index c3dcd899fd92b6..f87fc9c0ed40ec 100644 --- a/examples/jsm/nodes/materials/NodeMaterial.js +++ b/examples/jsm/nodes/materials/NodeMaterial.js @@ -31,6 +31,12 @@ class NodeMaterial extends ShaderMaterial { } + customProgramCacheKey() { + + return this.uuid + '-' + this.version; + + } + generateMain( builder ) { const object = builder.object;