소스 검색

Merge pull request #9257 from sebavan/master

Fix #9254
sebavan 4 년 전
부모
커밋
12e4fd0ce8
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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) {
             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.setAlphaMode(Constants.ALPHA_DISABLE);