UV Channels in Texture Sampler

Node-based Shader Editor

UV Channels in Texture Sampler

Postby Ben » Wed Aug 09, 2017 3:21 pm

Hi,

I'm currently trying to change which uv channel a particular texture sample is using (Channel 2). I'm currently choosing '2' from the drop down list titled 'UV Set' in the texture sampler parameters. However, it still seems to be using channel 1. Currently, I'm just doing a super-simple test where this is the only texture sample. Is this all a bug or am I misunderstanding it on my end?

Thanks!

Ben
Ben
 
Posts: 12
Joined: Tue Nov 29, 2016 8:02 pm

Re: UV Channels in Texture Sampler

Postby Amplify_Borba » Wed Aug 09, 2017 4:16 pm

Hello Ben, thank you for getting in touch!

It should be working as expected, is your object using lightmaps?
Because if so, the UV2 is used for that.

If possible, you can always send us a sample so we can examine the situation on our side.

Looking forward to your reply!
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!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: UV Channels in Texture Sampler

Postby Ben » Thu Aug 10, 2017 9:29 am

Thanks for the quick response!

Image

Here is the setup of a simple test shader. I've unwrapped the second UV set so that the panning white gradient passes through each of the faces separately. Currently, no matter what I set the UV set option to, it still uses UV channel 1. I've also tried copying it to UV channel 3 and trying that one as a test, but this gives the same result.

I've tried swapping the UV channels in the asset import option to see that my UV unwraps are correct and they seem fine. Are there any naming conventions I need to stick to when creating multiple UV unwraps?

Cheers
Ben
 
Posts: 12
Joined: Tue Nov 29, 2016 8:02 pm

Re: UV Channels in Texture Sampler

Postby Amplify_Borba » Thu Aug 10, 2017 10:38 am

Thank you for providing us some additional information!

We ran some tests on our side and everything seems to be working as intended.

I need you to confirm if you've changed the UV Set in the Texture Coordinates node, because it will override the Texture Node's UV Channel due to being connected to that node's UV input.

If that still doesn't solve your issue, would it be possible for you to send us a sample so we can further examine the problem?

Best regards!
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!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: UV Channels in Texture Sampler

Postby Ben » Thu Aug 10, 2017 4:24 pm

Ah, it was the UVCoordinate node that was resetting the UV set to 1!

It works perfectly now, thanks very much for the help!
Ben
 
Posts: 12
Joined: Tue Nov 29, 2016 8:02 pm

Re: UV Channels in Texture Sampler

Postby Amplify_Borba » Thu Aug 10, 2017 4:37 pm

No problem, glad to be of assistance!

Have you had the chance to rate and review the Amplify Shader Editor? It would be awesome if you could share your experience with the Unity community, the Unity Asset Store thrives on user interaction and direct feedback.
Every bit helps, your feedback is extremely valuable to us!

Don't hesitate to get back in touch if you run into any other issues!
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!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am


Return to Amplify Shader Editor

Who is online

Users browsing this forum: No registered users and 0 guests