sunag пре 2 година
родитељ
комит
2ec45ff8f9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      examples/jsm/nodes/materials/NodeMaterial.js

+ 1 - 1
examples/jsm/nodes/materials/NodeMaterial.js

@@ -48,7 +48,7 @@ class NodeMaterial extends ShaderMaterial {
 
 	customProgramCacheKey() {
 
-		return getCacheKey( this );
+		return this.type + getCacheKey( this );
 
 	}
 

粤ICP备19079148号