Search Unity

VFX shader graph only allowing unlit shader - lit does not work

Discussion in 'Visual Effect Graph' started by MMeyers23, Jun 23, 2020.

  1. MMeyers23

    MMeyers23

    Joined:
    Dec 29, 2019
    Posts:
    101
    Hi, I have a simple VFX graph in my URP 7.3 project, using Unity 2019.4.1, which simply outputs a mesh particle. I have the experimental shader graph option turned on in preferences, so that I can set a shader graph to the mesh particle material. It works fine as long as the shader is unlit - as soon as I check the 'lit' functionality in the master node the particle disappears completely, and nothing I try will make the particles visible. Do lit shaders not work in VFX?
     

    Attached Files:

  2. PaulDemeulenaere

    PaulDemeulenaere

    Unity Technologies

    Joined:
    Sep 29, 2016
    Posts:
    154
    Hi,

    The support for URP integration isn't complete yet. The lit particles output is only available on HDRP.

    So, this lit option refers to HDRP, and in that case, a shaderGraph with lit enable should be used on a Output Particle Lit (Quad or Mesh Lit for instance). We are aware this process isn't really convenient from the user perspective, it's also partially why shader graph integration is still only displayed if "Experimental Operators/Blocks" option is enabled.

    We have a plan for the full URP Support, and we are already working on workflow improvement for the shader graph integration.
     
    BigRookGames likes this.
  3. VeryHotShark

    VeryHotShark

    Joined:
    Mar 11, 2017
    Posts:
    13
    Is there ETA for Lit Mesh Outpu support in URP?
     
    Adnaro likes this.
  4. YugiMangoDev

    YugiMangoDev

    Joined:
    Jul 15, 2015
    Posts:
    5
    any news on this?
     
  5. the-EKM

    the-EKM

    Joined:
    Oct 16, 2020
    Posts:
    1
    Also keen to know when this will be available..!
     
    silencesquare and Adnaro like this.
  6. b4gn0

    b4gn0

    Joined:
    Jul 26, 2019
    Posts:
    119
  7. RoyBarina

    RoyBarina

    Joined:
    Jul 3, 2017
    Posts:
    98
    I would also like to be able to use lit shaders in VFX graph
    upload_2021-9-12_1-39-17.png