Is there a way to create a material mask from UVs?

Pretty much the title, I want to create a material that has a different color at the edge of its UVs. But can’t really find the function or if it’s possible at all. Every piece of advice will help, thanks.

Ps: What’s up with so few tags in the forums? No material tags and forums at all now?

Take a look at the radial gradient exponential node… :slight_smile:

Um, not really sure how a radial-gradient exponential node would help as I am trying to get a thick wireframe mask or something like that, from the UVs.

Ps: Yo Clockwork played your game confusing a hell, but it was fun still need to finish it though.

Ah, maybe you mean more like this

Hey! - glad you sort of liked the game :slight_smile:

Message me when Z2 comes out and I’ll give you a key! ( don’t hold your breath ).

1 Like

Nope, it’s good only for cubes. I looked more into it as I understood that I needed a wireframe mask and by the looks of it it’s impossible to get a thick wireframe material so there is no way to get a wireframe mask either. The best way is to bake the UVs of each mesh but that not something I wanted to do but most likely will have to :confused:

Thanks again

Fake wireframe

and you can enable it in the shader, but then it’s always thin

1 Like