Browse Source

Allow multiple ParticleTextureBlock blocks

Popov72 4 years ago
parent
commit
ce6990b697
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Materials/Node/Blocks/Particle/particleTextureBlock.ts

+ 1 - 1
src/Materials/Node/Blocks/Particle/particleTextureBlock.ts

@@ -46,7 +46,7 @@ export class ParticleTextureBlock extends NodeMaterialBlock {
     public constructor(name: string) {
         super(name, NodeMaterialBlockTargets.Fragment);
 
-        this._isUnique = true;
+        this._isUnique = false;
 
         this.registerInput("uv", NodeMaterialBlockConnectionPointTypes.Vector2, false, NodeMaterialBlockTargets.VertexAndFragment);