x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

best way to have multiple materials on an object?

I have a veichle model ready. It needs rubber, painted metal, shiny metal etc materials. I saw in the tutorials that either I need to asign different material slots or have a color map and material funtions to define materials separately. Question: for optimization point of view which is better?

Also:my current model has been mapped to the same UV map. Is that ok for both approach?

Extra question: is it possible to combine diffuse color map with color mask somehow? (to elaborate: I would paint some parts of the model to their final color and I would paint some other parts to let's say pink. Then i'd keep the normal colors on the model except the pink parts which would be replaced by an other material.-hope this question makes sense :) )

Product Version: Not Selected
Tags:
more ▼

asked May 22 '14 at 03:15 PM in Rendering

avatar image

mzprox
5 1 2 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

https://www.youtube.com/watch?v=r-0GnSFO1BU < this explains how to add multiple textures onto one mesh. You can have multiple UV chanels, but each channel will up the drawcalls, and the less drawcalls the better :)

With the approach in this video, you will be using only one UV map :)

more ▼

answered May 22 '14 at 03:23 PM

avatar image

Luos
9.2k 286 64 330

avatar image mzprox May 22 '14 at 03:44 PM

For my model I plan to uv map: one for textures and one for lightmaps (the model is mirrored so in the first uv map my goal is to save texture space by overlapping polys). My main question is though: which method is the better, assigning material slots in 3d app or paint a color map/mask and use material functions to define different materials for a single slot.

avatar image Luos May 24 '14 at 09:02 PM

If you mirror the model, then your normals will be messed up, unless you mirror the texture (in clamping options) in ue4 and made sure the mirrored parts are propperly set up in our 3d program of choice. you can have overlapping textures for the diffuse, but not for the lightmap!

Either way is fine, if you render to texture you can apply as many textures you want and render out 1 texture. the latter works just as fine. it depends on what you prefer and what increases your workflow speed.

avatar image Guigsy1865 May 25 '14 at 07:09 PM

Starting with 4.2 mirrored usb with normals will be supported when UE4 starts using FBX2014. This was listed on the 4.2 preview page.

avatar image Luos May 25 '14 at 07:29 PM

But for now not available, i for one welcome the addition though :)

avatar image mzprox May 26 '14 at 09:03 AM

Hmm. i use blender and at least in unity i had no problem with mirrored mesh/uvs. I'm gona try with a simple model to see how it works. But good to know even if it won't work it might in the future.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Okey depending on what modelling software you are using you can apply multi-subobject materials in your 3d editor.

Im using max, im assuming you just apply material to each polygon you want in maya and then export it.

For max just apply a multisub object material to the whole mesh and set the material id to whatever polygon you want each material to be on.

Im sorry if thats a pretty bad explanation. But its really simple in practice. Just setup the material as you want it in Max or Maya and then export it like that and you will have several material slots inside UE4 aswell.

more ▼

answered May 22 '14 at 03:20 PM

avatar image

Visceral3D
247 13 10 21

avatar image Luos May 24 '14 at 08:59 PM

he actually doesnt want to use multisub.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question