# Color Black in Particle?

**URL:** <https://forum.babylonjs.com/t/color-black-in-particle/10192>\
**Category:** Questions\
**Created:** [April 21, 2020, 4:52pm UTC](https://forum.babylonjs.com/t/color-black-in-particle/10192 "2020-04-21T16:52:19Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maya\_Rahto](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/maya_rahto/32/7838_2.png) [@Maya\_Rahto](https://forum.babylonjs.com/u/Maya_Rahto)\
**Post date:** [April 21, 2020, 4:52pm UTC](https://forum.babylonjs.com/t/color-black-in-particle/10192/1 "2020-04-21T16:52:19Z")

</div>

Does anyone has am example of falling stars crossing the screen fom left to right? I`m trying to learn particles, but they dont apear in my scene, idk what i`m doing.

But they are not showing in black color on screen. I wish i had nice black particles, as looking like a falling star. But they dont show to get black.

Thats the particle i`m using:  
 ![particle](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/9/9133594debda013802f1e87eafac5eb9e7c73114.png)

````auto

        this.particleSystem.particleTexture = new Texture("./../res/particle.png", this.scene);
        this.particleSystem.textureMask = new Color4(0, 0, 0, 1.0);

        this.particleSystem.emitter = new Vector3(-70, 10, 0) // the starting object, the emitter
        this.particleSystem.minEmitBox = new Vector3(-200, 5, -20); // Starting all from
        this.particleSystem.maxEmitBox = new Vector3(200, 100, 100); // To...

        this.particleSystem.direction1 = new Vector3(-70, 8, 3);
        this.particleSystem.direction2 = new Vector3(70, 8, -3);

        this.particleSystem.minLifeTime = 3;
        this.particleSystem.maxLifeTime = 4;

        this.particleSystem.minSize = .3;
        this.particleSystem.maxSize = .8;

        this.particleSystem.color1 = new Color4(0.1, 0.1, 0.1, 1.0);
        this.particleSystem.color2 = new Color4(0.2, 0.2, 0.2, 1.0);
        this.particleSystem.colorDead = new Color4(0, 0, 0.0, 0.1);

        this.particleSystem.gravity = new Vector3(0, -9.81, 0);

        this.particleSystem.minEmitPower = 2;
        this.particleSystem.maxEmitPower = 4;
        this.particleSystem.updateSpeed = 0.005;

        this.particleSystem.start();```
````

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [April 21, 2020, 8:42pm UTC](https://forum.babylonjs.com/t/color-black-in-particle/10192/2 "2020-04-21T20:42:15Z")

</div>

WOuld you be kind to repro in the Playground?

Then run:

```auto
scene.debugLayer.show();
scene.debugLayer.select(system)

```

It will give you an UI to edit your particle system

---

<div class="post-metadata">

**Author:** ![Maya\_Rahto](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/maya_rahto/32/7838_2.png) [@Maya\_Rahto](https://forum.babylonjs.com/u/Maya_Rahto)\
**Post date:** [April 21, 2020, 9:34pm UTC](https://forum.babylonjs.com/t/color-black-in-particle/10192/3 "2020-04-21T21:34:20Z")

</div>

> [@Deltakosh](#):
>
> scene.debugLayer.show(); scene.debugLayer.select(system)

Thanks… the particles are working, but they have an alpha, i would like them to be all opaque… but they show like in alpha mode. And i couldn’t make opaque in debbuger. ☹

Is there a way to let thoses particles opaque?

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [April 22, 2020, 11:24am UTC](https://forum.babylonjs.com/t/color-black-in-particle/10192/4 "2020-04-22T11:24:14Z")

</div>

Nope but may I ask why you would like them to be opaque ???

In my mind, it would look like a screen full of quads.

---

<div class="post-metadata">

**Author:** ![Maya\_Rahto](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/maya_rahto/32/7838_2.png) [@Maya\_Rahto](https://forum.babylonjs.com/u/Maya_Rahto)\
**Post date:** [April 22, 2020, 12:03pm UTC](https://forum.babylonjs.com/t/color-black-in-particle/10192/5 "2020-04-22T12:03:23Z")

</div>

I would like opaque because my sky is almost white, but a little gray… so a opaque black particle would be nice, i would have see it cleary…

As this particles a with alpha, i almost cant see it on my screen, because it is almost full white.

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [April 22, 2020, 12:13pm UTC](https://forum.babylonjs.com/t/color-black-in-particle/10192/6 "2020-04-22T12:13:15Z")

</div>

Why not using the standard blend mode for that ?

system.blendMode = BABYLON.BaseParticleSystem.BLENDMODE\_STANDARD

---

<div class="post-metadata">

**Author:** ![Maya\_Rahto](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/maya_rahto/32/7838_2.png) [@Maya\_Rahto](https://forum.babylonjs.com/u/Maya_Rahto)\
**Post date:** [April 22, 2020, 12:28pm UTC](https://forum.babylonjs.com/t/color-black-in-particle/10192/7 "2020-04-22T12:28:51Z")

</div>

> [@sebavan](#):
>
> system.blendMode = BABYLON.BaseParticleSystem.BLENDMODE\_STANDARD

Thanks, but, How do i supose to use this code?

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [April 22, 2020, 12:33pm UTC](https://forum.babylonjs.com/t/color-black-in-particle/10192/8 "2020-04-22T12:33:57Z")

</div>

Setting this on the particleSystem you created

---

<div class="post-metadata">

**Author:** ![Maya\_Rahto](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/maya_rahto/32/7838_2.png) [@Maya\_Rahto](https://forum.babylonjs.com/u/Maya_Rahto)\
**Post date:** [April 23, 2020, 1:29am UTC](https://forum.babylonjs.com/t/color-black-in-particle/10192/9 "2020-04-23T01:29:09Z")

</div>

> [@sebavan](#):
>
> system.blendMode = BABYLON.BaseParticleSystem.BLENDMODE\_STANDARD

thanks… that solved!!!
