Search Unity

Question VFX Output doesnt support Flipbook When I use ShaderGraph

Discussion in 'Visual Effect Graph' started by User540, Mar 8, 2023.

  1. User540

    User540

    Joined:
    Dec 30, 2022
    Posts:
    2
    I want to create a muzzle flash and for some reason,it must use shader graph,but when I doing that,there are no Flipbook options in Output block. how can i use that :(
     
  2. Qriva

    Qriva

    Joined:
    Jun 30, 2019
    Posts:
    1,307
    You can (or must) create your own, there is flipbook node in SG, then you need to expose size and index and use texture index attribute. Also if I remember correctly there is flipbook operator node in vfx graph to calculate texture index as it does not happen automaticaly.
     
  3. User540

    User540

    Joined:
    Dec 30, 2022
    Posts:
    2
    Thanks I will try your way :)