I have encountered an issue where I am trying to add black particles in a white THREE.scene. Despite changing the spawn option color, there are still white particles present as if there is a base particle spawn color. The problem arises when I set a white scene background, causing the particleSystem's spawn option color to disappear or turn white.
For example:
// options passed during animate() | particleSystem.spawnParticle(options)
// particle color is now 0x3174a5 with the "white base color"
options = {
position: new THREE.Vector3(),
positionRandomness: .3,
velocity: new THREE.Vector3(),
velocityRandomness: .5,
color: 0x3174a5,
...
};
If I were to change the 'color' property of the options to 0x000000, only the "white base color" remains visible.
Furthermore, when I adjust the scene background to white, the particles become invisible.
scene.background = new THREE.Color( 0xcccccc ); // grey background
Interestingly, when the scene color is set to grey (e.g., 0xcccccc), it appears that the scene color is overlaid on top of the Particle System.
I would greatly appreciate any assistance with this matter!