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

How can i make the perlin noise value different for each particle in vfx graph?

Discussion in 'Visual Effect Graph' started by pym4742, Feb 11, 2021.

  1. pym4742

    pym4742

    Joined:
    May 14, 2020
    Posts:
    12
    I want to make each cable go forward in a random direction, but if I use perlin noise, it moves in a certain direction.

    I wonder how I can give different directions for each particle strip.


    This is a cable from keijiro (reference)
    뮤비레퍼런스 케이블.png

    And this is my cable. (All cables move in the same x direction)
    cable1.png cable3.png

    My Patch
    cable2.png
     
  2. VladVNeykov

    VladVNeykov

    Unity Technologies

    Joined:
    Sep 16, 2016
    Posts:
    550
    Hi @pym4742 ,

    Adding a Random Number to your sampling of the noise should give you the desired unique per-particle result:
     

    Attached Files:

  3. pym4742

    pym4742

    Joined:
    May 14, 2020
    Posts:
    12
    I really appreciate you.
     
    VladVNeykov likes this.