Search Unity

How to change some global parameter inside graph?

Discussion in 'Visual Effect Graph' started by deadfallgame, Dec 27, 2020.

  1. deadfallgame

    deadfallgame

    Joined:
    Oct 1, 2014
    Posts:
    17
    I want to have some global param and change it every tick. For example I want to keep global emitter position and change it applying some small transform every frame.

    I tried to use custom attrubute but it seems that every particle have it's own instance of that attribute. Am I right in this assumption? Is there some way to have global atribute and change it inside vfx graph or I should use c# for that?
     
    microbelief and Kasperrr like this.
  2. LucasRizzotto

    LucasRizzotto

    Joined:
    Dec 11, 2015
    Posts:
    27
    Very curious about this also!
     
    Kasperrr likes this.
  3. Kasperrr

    Kasperrr

    Joined:
    Feb 23, 2019
    Posts:
    13
    Same here. Is there any way to setup some Global parameters in VFX Graph ?
    Maybe there is an option to do this similar to Shaders.