Search Unity

Question does vfx support global textures?

Discussion in 'Visual Effect Graph' started by laurentlavigne, Jul 3, 2021.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,364
    I tried Shader.SetGlobalTexture, no go
    It's to batch all these vfx in one SetTexture instead of for looping through all of them and assigning the texture BTW: is it one cpu->gpu transfer per vfx.SetTexture if it's the same texture for all the vfx?