Search Unity

HDRP Particles

Discussion in 'Graphics Experimental Previews' started by Korindian, Oct 18, 2018.

  1. Korindian

    Korindian

    Joined:
    Jun 25, 2013
    Posts:
    441
    I understand that the VFX Editor will be coming out soon, but can we get some shaders to work properly with Shuriken, even for Unlit?

    Problems I'm seeing:

    - Included HDRP Unlit shader does not respond to changes in Shuriken color properties.
    - Unlit Shader Graph shaders do not respond to changes in Shuriken color properties.
    - Both HDRP Unlit and Shader Graph Unlit shaders do not have soft particles.

    The only shaders working now are legacy particle shaders, and soft particles aren't working on those shaders either.
     
  2. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    1,432
    In Shuriken for color, shader must use vertex color.
     
  3. Korindian

    Korindian

    Joined:
    Jun 25, 2013
    Posts:
    441
    I can get Shuriken color properties working in the Shader Graph Unlit shaders using the Vertex Color node, thanks, but not for the included HDRP Unlit shader.

    How do we get Soft Particles with Shuriken in HDRP? There is a setting for Soft Particles in the LWRP asset but not for the HDRP asset.
     
  4. Flow-Fire-Games

    Flow-Fire-Games

    Joined:
    Jun 11, 2015
    Posts:
    196
    We'd also like to know about Soft Particles in HDRP
     
  5. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    1,154
    Korindian likes this.
  6. tspk91

    tspk91

    Joined:
    Nov 19, 2014
    Posts:
    85
    What are the use cases of shuriken particles in HDRP given VFXGraph are much more performant?
     
  7. kilik128

    kilik128

    Joined:
    Jul 15, 2013
    Posts:
    843
    Velo222 likes this.
  8. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    1,937
    Just curious, has the soft-particles issue been resolved yet? Or is that still under development?
     
  9. Velo222

    Velo222

    Joined:
    Apr 29, 2012
    Posts:
    1,292
    I am really waiting and hoping for some particle shaders that work well in HDRP. 2018.3 or 2019.1 specifically, but any versions really.

    I really want a cloud shader that works. I've been waiting for a month and a half now (since end of May) and I havn't heard anything about particle shaders that work. Is this being worked on? Is there any advancement in this area?

    As I said, all I'm really waiting for is a cloud particle shader that looks pretty real. The HDRP Lit and Lit tessellation shaders work with particles.....but they have a lot of glaring flaws at distance and at certain angles.

    The shadergraph ones provided by Unity (richardkettlewell) recently don't work at all for some reason. I'm not blaming richard, I know he's probably working hard on them, but I just can't seem to get them to work. Do I need to use VFX or something?
     
  10. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    1,154
    I believe the Shadergraph bug has been fixed but it missed making it into a couple of package versions so I’ve been stuck waiting for quite some time, for it to appear in a package I can use to add the soft particle support. I’ll take another look tomorrow and see if it’s fixed in whatever the newest package for 19.2 is. Sorry it’s taking so long :(
     
    dgoyette likes this.
  11. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    1,154
    What’s going wrong, do you know?

    There are a couple of downloads on the particle forum, for various versions. I think as long as the particle version is less than or equal to the HDRP package version, it should work. If you let me know your HDRP version I can try it out here and see if I can recreate whatever is blocking you.
     
  12. Velo222

    Velo222

    Joined:
    Apr 29, 2012
    Posts:
    1,292
    Your instructions say to use HDRP 5.3 in Unity 2019.1, but there is no 5.3 option to install when using Unity 2019.1 for me. I am using Unity version 2019.1.3f1. The lowest HDRP version I see is HDRP 5.7.2.

    When I download and unzip the 2019.1 shaders (and place them in my Project->Assets folder) and click the dropdown button on a material to select the shader, it crashes Unity.

    In versions of the Editor where I can get the HDRP particle shaders to actually work (for example in Unity 2018.3 with the correct HDRP package version), they just don't do anything. They just show white or grey squares for the particles, and nothing else. That's why I'm wondering if I'm doing something wrong somehow?

    I have included some pictures to try to help.

    UnityHDRP_ShaderIssue2.png UnityHDRP_ShaderIssue1.png
     
    Last edited: Jul 25, 2019
  13. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    1,154
    Ah ok. I don't know why it's not there as it must have been when I made the shaders, but I suppose for some reason it got removed since then. I've uplaoded a new pack made with 5.7.2, here: https://forum.unity.com/threads/hdrp-particle-system-shaders.643840 Hopefully it works for you! Let me know if you still have any problems.
     
    Velo222 likes this.
  14. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    1,154
    As promised, I've had another look at this today and the ShaderGraph bugs are fixed in HDRP 6.8.1. (hurray!) So I have made a new particle shader pack with that version, which includes an example for Soft Particles and Distortion. You can grab it from here: https://forum.unity.com/threads/hdrp-particle-system-shaders.643840
     
    Korindian and dgoyette like this.
  15. Velo222

    Velo222

    Joined:
    Apr 29, 2012
    Posts:
    1,292
    Wow, thanks richard :)

    I got them kind of working now. I actually got them working in Unity 2018.3 (which is excellent). But in my Unity 2019.1 version, they still crash Unity when I try to select the shader dropdown on a material. I have no idea why, but I'm assuming it's a problem unique to my project. I narrowed it down to the "ParticleLit" shader in particular (I deleted all the others and it still crashed with just the ParticleLit shader in the project).

    So I'm going to try another version of Unity sometime to test if it might be version related, but probably not today. If I do, I'll let you know if I have any more problems. But thankfully, I have a version that works now!

    Thank you very much for the updates.
     
    richardkettlewell likes this.
  16. sebastianzander

    sebastianzander

    Joined:
    Mar 22, 2018
    Posts:
    22
    So does this mean that soft particles are now (in HDRP 6.8.1) working with VFX graph and HDRP shaders? If I understand your previous posts correctly then the mentioned Shader Graph bug also prevented soft particles with VFX graph and not just with the dated particle system?! It's my assumption since in HDRP and VFX graph 5.16 I don't get soft particles although enabled in the VFX output node.
     
    Last edited: Jul 30, 2019
  17. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    1,154
    This stuff has nothing to do with the VFX Graph - it is only relevant for using the "dated" Particle System with HDRP.
    The Shader Graph bug had nothing to do with Soft Particle support in the VFX Graph.

    You are welcome to report a bug if Soft Particles are not working in the VFX Graph.
     
  18. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    1,154
    If using the built-in renderer, yes.
    If using HDRP, no. (i don't think HDRP even existed in 2017.4?)
     
  19. FiveFingerStudios

    FiveFingerStudios

    Joined:
    Apr 22, 2016
    Posts:
    356
    Thanks...I found it and it fixed the issue.
     
  20. elbows

    elbows

    Joined:
    Nov 28, 2009
    Posts:
    2,299
    HDRP existed in publicly available form for more than half of 2017, but it was in a rather immature state back then.
     
    richardkettlewell likes this.
  21. sebastianzander

    sebastianzander

    Joined:
    Mar 22, 2018
    Posts:
    22
    Thank you but I just found out that it's not a bug, just me being dumb :rolleyes:
    From my other thread regarding my particular problem:
     
    richardkettlewell likes this.