Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Particle System Broken in Certain Scenes

Discussion in 'General Graphics' started by DRRosen3, Oct 25, 2022.

  1. DRRosen3

    DRRosen3

    Joined:
    Jan 30, 2014
    Posts:
    683
    What might cause a Particle System to not render properly in certain scenes?

    This is what the effect looks like...


    This is what it looks like in a scene where it works...


    ...and this is what it looks like in another scene...
     
  2. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    2,240
    Is it using additive blend mode in any of its shaders? If so, that would cause it to only work against a dark background.
     
  3. DRRosen3

    DRRosen3

    Joined:
    Jan 30, 2014
    Posts:
    683
    I wasn't aware of that. Is this a URP "issue"? Is there a workaround/solution that would get it to work regardless of the background?
     
  4. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    2,240
    It's just how the maths for that blend mode works. Additive blending adds the 2 colors together (background + particles). so if the background is white, there isn't anywhere brighter to go from there, so the pixels stay white.

    The workaround is to use a different render mode, such as Fade. But it may require some modification of the art content too, to get the look you want.
     
    BrandyStarbrite likes this.
  5. DRRosen3

    DRRosen3

    Joined:
    Jan 30, 2014
    Posts:
    683
    We ended up switching the Blend Mode to Alpha, and adjusting our textures accordingly. Thanks for the help!
     
    richardkettlewell likes this.