Search Unity

(Visual Effects Graph Sample) How to put custom properties into output context without using blocks?

Discussion in 'Visual Effect Graph' started by fncischen, Mar 17, 2020.

  1. fncischen

    fncischen

    Joined:
    Jul 14, 2017
    Posts:
    8
    On the Unity Visual Effect Graph Samples Github Repo, I've noticed the output contexts have custom properties that were embedded into the output particle contexts without the use of blocks.

    I'm wondering how does one set this up?
    upload_2020-3-17_12-39-31.png

    Best,
     
  2. JulienF_Unity

    JulienF_Unity

    Unity Technologies

    Joined:
    Dec 17, 2015
    Posts:
    326
    Hi,

    It's because it's using a VFX Shadergraph with some properties exposed.

    To be able to see the shadergraph field, you need to enable experimental features in vfx preferences
     
    fncischen likes this.
  3. fncischen

    fncischen

    Joined:
    Jul 14, 2017
    Posts:
    8
    Thanks this makes so much sense now!
     
  4. Jordash

    Jordash

    Joined:
    Mar 5, 2014
    Posts:
    1
    It might be a good idea to indicate if a block is using experimental features that are turned off in the vfx preferences.

    Though the features will not be experimental forever, in the mean time it is very unintuitive. Particularly that the blocks still seem to be fully functional, just hiding the shader graph property.
     
    sgkz likes this.