sebavan 4 years ago
parent
commit
3db53739f4
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/Particles/particleSystem.ts

+ 3 - 1
src/Particles/particleSystem.ts

@@ -2019,7 +2019,9 @@ export class ParticleSystem extends BaseParticleSystem implements IDisposable, I
         if (this.blendMode === ParticleSystem.BLENDMODE_MULTIPLYADD) {
         if (this.blendMode === ParticleSystem.BLENDMODE_MULTIPLYADD) {
             outparticles = this._render(ParticleSystem.BLENDMODE_MULTIPLY) + this._render(ParticleSystem.BLENDMODE_ADD);
             outparticles = this._render(ParticleSystem.BLENDMODE_MULTIPLY) + this._render(ParticleSystem.BLENDMODE_ADD);
         }
         }
-        outparticles = this._render(this.blendMode);
+        else {
+            outparticles = this._render(this.blendMode);
+        }
 
 
         this._engine.unbindInstanceAttributes();
         this._engine.unbindInstanceAttributes();
         this._engine.setAlphaMode(Constants.ALPHA_DISABLE);
         this._engine.setAlphaMode(Constants.ALPHA_DISABLE);