Does anyone has am example of falling stars crossing the screen fom left to right? Im trying to learn particles, but they dont apear in my scene, idk what im 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:
![]()
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();```