Texture sample as condition for rotating

Hello everyone,
I’ve made burning dissolve effect in UE5, and I want my particles to be rotated based on the texture I’m using, so the particles that are spawned, to face different direction of the alpha of the texture

You probably need to show the texture and maybe illustrate a little the issue you are facing, but if not, I would advice to use velocity facing mode?

1 Like

Sounds like what you want is the derivative of the dissolve texture.
You can kinda fake it by sampling the texture with a difference in x and y, then subtract the results to get the “slope” of the dissolve.

2 Likes


Hi, thank You for response, this is the facing I’m trying to get

Hi, thank You for response, this is the facing I’m trying to get

To get this to work first you need to convert this texture from a height map to a normal map. Then you can sample the RG channels to get the XY vector that will be facing in these directions.