Search Unity

Set color over alpha not working on Particle Lit

Discussion in 'Visual Effect Graph' started by StavrosUnity, Apr 24, 2022.

  1. StavrosUnity

    StavrosUnity

    Joined:
    Jan 19, 2018
    Posts:
    12
    Hi.

    In my project, I have particle lit that doesn't fade the particles (over life). I am guessing this has something to do with the shader I am using in the VFX Graph. When using the color over life with Particle Unlit, it works fine.

    Any guesses?
     
  2. StavrosUnity

    StavrosUnity

    Joined:
    Jan 19, 2018
    Posts:
    12
    I have made the connections as seen below. My shader connects to the alpha value, and I get the particle IDs for alpha. One strange thing is that when I add the Set Alpha Over Life into my environment, all of my particles disappear - even other flows not connected to the current one
     

    Attached Files:

  3. StavrosUnity

    StavrosUnity

    Joined:
    Jan 19, 2018
    Posts:
    12
    Ok, got it. I closed the Alpha Clipping on the shader and now it works