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 Output Particle Mesh

Discussion in 'Visual Effect Graph' started by berkuslu97, Jun 29, 2023.

  1. berkuslu97

    berkuslu97

    Joined:
    Jun 30, 2018
    Posts:
    22
    Hello everyone!

    I am trying to achieve some VFX. In the tutorials that I watch people are using this Output Particle Mesh with Shader Graph Support. I am using 2022.3.2f1 and there is no such thing as Shader Graph Support. Did they change it or remove it ?

    upload_2023-6-29_12-53-5.png
     
  2. Qriva

    Qriva

    Joined:
    Jun 30, 2019
    Posts:
    1,108
  3. berkuslu97

    berkuslu97

    Joined:
    Jun 30, 2018
    Posts:
    22
    Yeah thanks a lot but I got another problem now.

    upload_2023-7-3_17-16-44.png

    I am trying to create a smoke with dissolve effect so I need to change alpha value. When I try to change value from shader it is working but When I try to change from VFX graph it doesn't work. Also there is no Blend Mode. I saw people has it.
     
  4. Qriva

    Qriva

    Joined:
    Jun 30, 2019
    Posts:
    1,108
    You need to expose everything you need, also there is checkbox "allow override" or something like that in shader graph settings - that allows you to change some surface properties in the inspector, like blend mode.
     
  5. berkuslu97

    berkuslu97

    Joined:
    Jun 30, 2018
    Posts:
    22

    upload_2023-7-3_21-13-46.png

    upload_2023-7-3_21-13-56.png

    This is the shader that I am using. Everything is exposed normally I dont use override because never had such a problem like this.
     
  6. Qriva

    Qriva

    Joined:
    Jun 30, 2019
    Posts:
    1,108
    I mean the graph option to expose Zwrite, blend mode, surface type, not property declaration.
    I can't see it and I am not HDRP expert - either this is older version or it works differently there.
    About alpha clip, what do you mean it does not work? It is exposed and set to 1, you mean if you change to 0.5 and compile it does not work? If that is the case you should consider this as bug.
    One more option to test is to change the name of this property, maybe there is some conflict or something.
     
  7. berkuslu97

    berkuslu97

    Joined:
    Jun 30, 2018
    Posts:
    22
    I am using latest version of HDRP. When I create a material from this shader graph It works perfectly fine but when I try to use this shader in VFX Graph, alpha clipping is not changing.

    I understood the problem. Unity creates a material automatically when I tick "Support for VFX Graph" option. In this material Alpha Clipping was not ticked. Somehow I changed it but now It doesn't let me change anything. Problem solved but not sure how I was able to change that.
    upload_2023-7-4_1-43-27.png
    upload_2023-7-4_1-43-33.png