Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question vfx graph water droplets

Discussion in 'Visual Effect Graph' started by kspeeder, Sep 16, 2022.

  1. kspeeder

    kspeeder

    Joined:
    Apr 9, 2018
    Posts:
    5
    i can make rain with vfx graph, but i'm trying to figure out how to make rain droplets that stop in the air and maybe make it wobble too.

    the best i got is making a water ball texture and making it stop, but it's too frozen in place, doesn't look like a ball of water suspended in the air, lacks wobble.

    is there any way to achieve that effect? or to animate individual particles like a gif?
     
  2. Marie_G

    Marie_G

    Unity Technologies

    Joined:
    Mar 9, 2021
    Posts:
    69
    Hi, do you have a reference image of what you are trying to achieve?

    From what I understood, you can maybe try to use your shader and assign it to VFX Particles, then control the particles position via the VFX Graph. Here is an example of the particle's behavior. You can toggle the box "Support VFX Graph" in your SGraph settings to be able to assign it to the VFX Graph output.

    You can modify the "Multiply position over life" or sur a "velocity over life" to have for example the particles dropping before stopping.

    this way, you should be able to have your shader still playing while your particles are suspended in the air
    upload_2022-9-19_17-23-44.png
     

    Attached Files: