viro icon indicating copy to clipboard operation
viro copied to clipboard

ViroParticleEmitter images are always white-ish

Open marcoburrometo opened this issue 4 years ago • 1 comments

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],
        ],
      },
    }}
  />

marcoburrometo avatar Jul 22 '21 11:07 marcoburrometo

Does it happen on iOS, Android or both platforms?

doranteseduardo avatar Sep 10 '21 16:09 doranteseduardo