Page 1 of 1

Flipbook panner

PostPosted: Sun Mar 10, 2019 5:55 pm
by ePiQue
Hey guys,

I'm currently trying to do this :

Get a specific texture from my atlas, apply a panner to the uvs of the selected texture.

Thanks to the flipbook node I achieve the first part. However, I'm currently struggling with the second part, wich is combining the new uvs to the panner :/

The thing is it keeps the old uvs aka the spritesheet and not the uvs from the selected texture.

Image

Appreciate any help :

Re: Flipbook panner

PostPosted: Mon Mar 11, 2019 4:17 pm
by ePiQue
Anyone ?

Re: Flipbook panner

PostPosted: Wed Mar 13, 2019 10:25 am
by Amplify_Borba
Hello, you might have to set up an additional Texture Sample and set its mode to Reference while referencing the original sampler used:

Image

This reference will then accept the custom UVs that you want to pass.

Please let me know if this helps.

Re: Flipbook panner

PostPosted: Wed Mar 13, 2019 7:45 pm
by ePiQue
It did, all good thanks :)

Re: Flipbook panner

PostPosted: Thu Mar 14, 2019 9:41 am
by Amplify_Borba
No problem, glad to know it helped!

Have you had the chance to rate and review Amplify Shader Editor? It would be awesome if you could share your experience with the Unity community, every bit helps and your feedback is extremely valuable to us.

Please let us know if you have further issues or questions!