Explorar el Código

Allow multiple ParticleTextureBlock blocks

Popov72 hace 4 años
padre
commit
ce6990b697
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);