Expose parameters to change UV set
-
- Posts: 11
- Joined: Thu Jul 20, 2017 4:40 pm
Expose parameters to change UV set
Is there a way to expose the UV set parameters so they can be swapped in the material? I know they can be changed all over the place within the editor, but I haven't seen a way to expose that the way you can with a lot of other things.
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Expose parameters to change UV set
Hello!jurassic_queer wrote:Is there a way to expose the UV set parameters so they can be swapped in the material? I know they can be changed all over the place within the editor, but I haven't seen a way to expose that the way you can with a lot of other things.
Even though it's not possible to change the UV Set ID as if it were a property on the Texture Coordinates node, you may use one or more toggle switches to alternate between Texture Coordinate nodes with different ID's or, as an alternative, use one Lerp node instead of the toggle.

Please let me know if this helps you out, thanks!
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!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
-
- Posts: 11
- Joined: Thu Jul 20, 2017 4:40 pm
Re: Expose parameters to change UV set
Ah, that seems like it'll work for now. It'd be nice to be able change that as a property, but this will probably be a good workaround for now at least. Thank you for this!
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Expose parameters to change UV set
Sadly, given the way that shaders work, it won't be possible to expose and use UV Set ID's in similar fashion to other properties.jurassic_queer wrote:Ah, that seems like it'll work for now. It'd be nice to be able change that as a property, but this will probably be a good workaround for now at least. Thank you for this!
Still, I'm glad that the workaround works for you!
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!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!