Facepunch / sbox-issues

176 stars 12 forks source link

Add the ability to auto fill materials in modeldoc #3934

Open Bagoott opened 1 year ago

Bagoott commented 1 year ago

For?

S&Box

What can't you do?

So say you have a model with with 50 materials, there isnt a way to automatically apply already made vmats to the model.

How would you like it to work?

Just like in material editor, if the name of the png is the same it auto fills. Maybe add a button or setting to find and apply the vmats to the model

What have you tried?

Spending 2 hours (depending on how many materials the mesh has) manually adding each vmat. Look at the scroll bar for example. This mesh has like 200 mats. Screenshot 2023-08-30 114431

Additional context

The ability to auto fill vmats in ModelDoc if the name of the vmat and the part of the mesh is the same.

TheBoxTrot commented 1 year ago

So when you make a new model the game will scan all your projects to try and find if the name matches any material assets?

garrynewman commented 1 year ago

We have a similar internal issue for this.. it is definitely something we could improve..

QuackCola commented 1 year ago

in blender for example when you make the model if you want to get it to auto find the materials when you import it into modeldoc youd have to something like this when naming the material : Screenshot 2023-08-30 133734

Then once you import it the materials if they are in a mounted project should show up on the model.

Even then it should be able to search for the file instead of you having to setup the path in blender which is the work around youll have todo for now.