viro
viro copied to clipboard
ViroParticleEmitter images are always white-ish
Hello!
I'm using ViroParticleEmitter but every image that I use is basically white. I tough it was bloom threshold, but it's not.
Can anybody help me?
<ViroParticleEmitter
position={[0, -2.5, 0]}
duration={1500}
visible={true}
run
loop
fixedToEmitter
image={{
source,
height: 0.1,
width: 0.1,
// bloomThreshold: 1.0,
}}
spawnBehavior={{
particleLifetime: [4000, 4000],
emissionRatePerSecond: [40, 100],
spawnVolume: {
shape: "box",
params: [20, 1, 20],
spawnOnSurface: true,
},
maxParticles: 25,
}}
particleAppearance={{
rotation: {
initialRange: [0, 360],
factor: "Time",
interpolation: [{ endValue: 1080, interval: [0, 5000] }],
},
scale: {
initialRange: [
[2, 2, 2],
[10, 10, 10],
],
factor: "Time",
interpolation: [
{ endValue: [3, 3, 3], interval: [0, 4000] },
{ endValue: [0, 0, 0], interval: [4000, 5000] },
],
},
}}
particlePhysics={{
velocity: {
initialRange: [
[-2, 0.5, 0],
[2, 3.5, 0],
],
},
}}
/>
Does it happen on iOS, Android or both platforms?