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 Is there a way to reverse Particle Strip trail without changing texture?

Discussion in 'Visual Effect Graph' started by raaan127, Jan 17, 2023.

  1. raaan127

    raaan127

    Joined:
    Dec 9, 2019
    Posts:
    23
    Hello,
    I am trying to mimic a particle system with VFX Graph but the VFXGraph's Particle Strip is kind of start-end-swap compare to Particle System's trail.
    Is there a way to flip the strip without changing texture?


    upload_2023-1-17_18-37-46.png
     
  2. Qriva

    Qriva

    Joined:
    Jun 30, 2019
    Posts:
    1,108
    You mean this checkbox in output settings?

    upload_2023-1-17_17-39-6.png
     
  3. raaan127

    raaan127

    Joined:
    Dec 9, 2019
    Posts:
    23
    I tried the checkbox and the texture is rotated 90degree. The desired outcome is to flip it (180degree)


    upload_2023-1-18_8-49-36.png
     
  4. Qriva

    Qriva

    Joined:
    Jun 30, 2019
    Posts:
    1,108
    You are right, then if you got custom shader can't you modify it? I mean it's not like you got big choice here you either:
    1. Swap the texture itself
    2. Modify shader and (1 - uv.x)
    3. Enable custom mode and you can provide custom UV along the strip, but reproducing this would probably more bothersome than option 1 or 2.
     
    raaan127 likes this.
  5. raaan127

    raaan127

    Joined:
    Dec 9, 2019
    Posts:
    23

    1. I got numerous texture adapted from previous project so swapping textures might not be an option.
    2. Modifying shader is a temporary solution (which maybe my only option for now, I guess) but not all the trail will need custom shader.
    3. Right now this option is too hard for my programming skill tier :D

    Anyway, thanks for the solutions.