Flipbook panner

Node-based Shader Editor
Post Reply
ePiQue
Posts: 8
Joined: Wed Dec 06, 2017 10:50 am

Flipbook panner

Post 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 :
ePiQue
Posts: 8
Joined: Wed Dec 06, 2017 10:50 am

Re: Flipbook panner

Post by ePiQue »

Anyone ?
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Flipbook panner

Post 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.
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
ePiQue
Posts: 8
Joined: Wed Dec 06, 2017 10:50 am

Re: Flipbook panner

Post by ePiQue »

It did, all good thanks :)
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Flipbook panner

Post 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!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Post Reply