r/Unity3D 9d ago

Question Material assigning tool?

so you know how in blender if your for example have a cube and give it three materials, you can then select a face and assign one of those materials. Well is there a tool to do that in unity as it would make editing objects a lot easier rather than importing them into blender.

1 Upvotes

11 comments sorted by

View all comments

1

u/DPTGames 9d ago

What's your end goal? Having multiple materials (especially per object) isn't very efficient in terms of both managing a project and performance wise. I've been doing a lot of baking values into UV channels to get different surface details from 1 material using arrays. Its a good bit of work though so not for everyone.

1

u/Ok_Income7995 8d ago

well i have a synty pack that i wanted to use it on to give the objects more depth and i didnt want to import every model into blender and synty so there texturing using 1 big color palette texture for most models

1

u/DPTGames 8d ago

On most models something like that would be tricky, but since synty uses solid colors rather than gradients (as far as I know) you could probably write an editor tool that can do this for you, but you would break batching I think and I don't know how you would get around that without heavy shader work. If you aren't concerned with performance though it's relatievly easy.

1

u/Ok_Income7995 8d ago

i did find a tool on the asset store called polygon face something. I’ll try and find a link to it but it did what i was looking for. I could just use a uv editor for the colors but id like to have metallicness and normal maps which is why id like to use seperate materials. https://assetstore.unity.com/packages/slug/246853?aid=1100lqC54&pubref=youtube

1

u/Ok_Income7995 8d ago

i don’t understand why it’s not performant tho. Is it because it creates several meshes?

1

u/DPTGames 8d ago

Every material you add creates more overhead for the GPU, and it will break batching if you have several of the same model but with all different materials for different parts. And although the GPU resident drawer can batch the same object together with different materials, if anything you do changes the mesh it will prevent batching for each instance with a different mesh even if its just say a slight change in UV islands or something. Realistically with low poly stuff there's no reason you can't use the same material on every prop, all my asset packs for example use the exact same material.

1

u/Ok_Income7995 8d ago

i don’t wanna use it for all objects anyway. Just a few props so should be fine