Hi, I’ve been learning Visual Effect Graph recently, I know how to use set velocity from a map, but my texture is a “flow map” like this: R channel is the X direction velocity, G channel is the Y direction velocity:
Should I have to separate the R and G channels to a single texture?
How can I set particles’ velocity from this texture?
My graph is this

The final result should be particles moving around three circles.
Hi!
You should be able to use that texture as is, but you have to be careful with a couple things.
- Don’t use the texture as sRGB (which is enabled by default). It is reserved for color images, this is just data.
- Remap the particle position from any range you need to a [0, 1] range to use it as UVs. Might need a different remap per axis.
- The velocity in the flowmap is encoded in a range [0, 1], and you are looking for a range [-1, 1], needs remapping.
- Might need to flip one axis. The texture is encoded with Y vector pointing down, it points up in Unity.
All together:
1 Like
Thank you so much
, Visual Effect Graph is awesome, although I don’t quite understand it yet, I can’t wait to learn more about Visual Effect Graph. You guys did a great job.
1 Like