How to create a panner material for a billboard

Hello everyone,

I’m trying to achieve a material with multiple texture (all same format and size) with a panner to transition between two texture.

I mean like a billboard with multiple images that automaticly turn for another image each few seconds.

Thanks a lot for help!

Hello Krystoh, I think this is a solution to your question:

Change the Sine and/or period of the timer node to increase/decrease transition times. The round node rounds the output from the sine to 1 or 0 (white or black) for the alpha in the lerp. Hope this helps.

Hello, thanks for yourfeedback.

However it’s not what I’m searching for, indeed I’m trying to make a panner with multiple textures.

For exemple Texture1 goes top and Texture2 is on the bottom going up to and then replace Texture1.
After few seconds Texture 2 goes up and replaced by Texture3 etc…

I mean something like this:

:slight_smile:

Aha! I see, I’ll try to adjust the material to have this functionality when I can. I’ll post it soon.
What happens when it gets to the last texture? Does it start going back or does it roll ‘around’ to the first one?

Wow thanks a lot @Appear, I’m struggling a lot with this one!!!

Well it should roll from the last to the first one ^^ (btw I just checked and it’s the same like in the video at 0:44 :slight_smile: )
Please tell me if I can help in any ways! :pray:

So I didn’t manage to complete the whole setup because of time constraints, but at least this could be a start to a solution:

This is based on a UV grid with images, this is what I used:

So it pans over different UV coordinates to change between the images. The difficult part is setting up the ‘if’ logic to make it stop when it needs to. This needs some tinkering to get right, but hopefully, it can be something to start with :slight_smile:

Here is the snippet for the BP code: https://dev.epicgames.com/community/snippets/YDEG/unreal-engine-panner-commercial-idea

1 Like

Thanks a lot @Appear ! :pray:

Amazing work, thanks for your time, I really appreciate!
I’ll do that and post if I make any important changes in order to share with everyone! :slight_smile:

1 Like

No problem, happy to help a little at least! Looking forward to see if you can do something with it :slight_smile:

1 Like

Well, until now I’m still not able to define a precise moment where to stop paning ^^‘’‘’

When I stop panner, it goes right to default location…
Don’t know why :confused:

I’m back with a solution I’ve found… @Appear
Well it’s less optimized… but it works as intended, will maybe try to do best later. :slight_smile:

For people who can be interested !

This is the material:

Then the BP in order to set up a dynamic mat and increment the parameter “Time” value:

If an admin see this, maybe it will be great to set it as a question please ? And not a thread, in order to mark it as answered ?
Thx!

2 Likes

Great to see that you found a solution!

1 Like