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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Does VFX graph support mesh particles?

Discussion in 'Visual Effect Graph' started by pbaumgartner98, Mar 13, 2020.

  1. pbaumgartner98

    pbaumgartner98

    Joined:
    Mar 1, 2020
    Posts:
    13
    Pretty much the title and if yes, how can i get cube particles?
     
  2. Olmi

    Olmi

    Joined:
    Nov 29, 2012
    Posts:
    1,553
    Hi @pbaumgartner98,

    Just use the correct output Node type, which would be the Lit Mesh or Lit Cube (can't remember if it still exists but there was such node.) There's also unlit variants of those nodes.
     
    VladVNeykov likes this.
  3. VladVNeykov

    VladVNeykov

    Unity Technologies

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

    As @Olmi said, there are Cube outputs or Mesh outputs you can use, with both unlit and lit versions:
    upload_2020-3-17_11-47-0.png
    (and you can also use multiple outputs per system)

    The dedicated Particle Cube outputs are typically more efficient, but there are a few known edge cases with them (on the Vulkan graphics API for example), so if you are experiencing any issues with cube outputs, you can just use a Output Particle Mesh or Output Particle Lit Mesh and set the mesh to a cube mesh.
     
  4. pbaumgartner98

    pbaumgartner98

    Joined:
    Mar 1, 2020
    Posts:
    13
    Thank you :)
     
    VladVNeykov likes this.
  5. Shrubokrant

    Shrubokrant

    Joined:
    Oct 2, 2016
    Posts:
    80
    I just saw this thread, and I noticed a major difference with my version of VFX graph: I don't have any field to change the Shader Graph VFX Asset, is that available with HDRP?
     
  6. Olmi

    Olmi

    Joined:
    Nov 29, 2012
    Posts:
    1,553
    @Bill-Sansky this question has been asked many times (no wonder...)

    Have you activated experimental operators / blocks in your preferences? That should make the shader graph field appear.

    experimental_blocks.PNG
     
    JinxGBR and dschu like this.
  7. Shrubokrant

    Shrubokrant

    Joined:
    Oct 2, 2016
    Posts:
    80
    heh, I guess I didn't check there :D
    That's the kind of things that should be mentioned in the documentation...
    Thanks for the help!
     
  8. Olmi

    Olmi

    Joined:
    Nov 29, 2012
    Posts:
    1,553
    Yes, it's far from obvious... :)
     
  9. JulienF_Unity

    JulienF_Unity

    Unity Technologies

    Joined:
    Dec 17, 2015
    Posts:
    307
    It's hidden in the first place because the feature is still experimental. So you are fully aware of it by enabling it.
     
  10. ivanbe93

    ivanbe93

    Joined:
    Mar 16, 2021
    Posts:
    1
    Hi, many thanks for this. Is it possible to add rigid body properties and colliders? To make particles collide one aginst another...