Hello, I have a 4x4 texture sheet which i am trying to get set up to work with the particle life.
I cannot work out how to connect my texture into the render graph in order to achieve this.
I have my texture plugged into the MainTexture slot in the quadoutput
UV mode is set to Flipbook (although i get the same nonresponsiveness from FlipbookBlend)
FlipbookSize is set to 4x4 so i can see one of my cells showing up fine.
I just have no idea on how to get this texture to be animated on the particles.
Flipbook frame is selected using texIndex attribute. You can manipulate it in the graph like any other attribute. There’s also a built in flipbook player block that will update the texIndex based on a playrate.
HDRP 9.****
Was just playing with Flipbook player.
In Curve over life mode it looks like player is displaying more frames than it should. (looping but not completely)
I have not messed around with a curve manually it shows proper number of frames (in my case it starts at (0,25) and ends (1,0).
Or am I not understanding how it works ? Could not find the documentation.
I assume it should make full cycle in lifetime of a particle.
Yes it’s extremely counter intuitive because instead of a sane value like in shuriken where 0 represents the beginning of the flipbook and 1 represents the end, it’s in fact playback velocity… I’m not making that up. So because it provides no sensible time markers you need to try it interactively and push the values way past 1.
Here is what I did: I started with a flat curve at 1, it’ll be 1 fps, meaning that all frames of the sequence will last 1 second, then slid the curve to a sensible framerate, then added the second key at the end of the lifetime and moved it to 10 until I got a nice acceleration of the animation through lifetime.
laurentlavigne yes this block is a total failure. There should be option over life without curve. And are you sure this is speed and not raw index ?
I had many problem with flipbook node in VFX graph and I decided to create my own node with calculations and then use SetTexIndex explicitly.
Yeah it took me a while to realize that vfx graph is not an artist’s tool. This explains why why youtube is filled with the same swarmy particles, it’s the lensflare 2020.
positive, hence the name “frame rate”
you prefer that over [0,1]? please do share anyway, I’m sure it’s better than the mad loop of “add a point to the curve, need to change all the other points to make sure all frames play”
Thank you I just added that to the graph. It is much easier to control but it doesn’t play the last frame of the flipbook. [EDIT: I removed the range and it works, don’t know why]
I would like to try out exchanging subgraph, hopefully they won’t change the graph definition like they did with urp…
See if that works for you
the image was to answer your question, i toggled it quickly so it defaults at 0,0. it was set at 0,1 when I was getting the last frame skip. In fact it should recall the previous range value of 0,1 like in the inspector so this is a bug. i’m past my quota for today
Stumbling upon this - has anyone tried to make a vfx graph using an output shader in which a flipbook is played ? It doesn’t use any of the vfxgraph flipbook nodes and seems to be stuck on frame 1 ? is it something that anyone can share their knowledge about ? thanks !