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"

Multi-sub-object material seams

When I use multiple materials on one mesh I start getting seams.

The body and head are on separate maps but are baked from the same sculpt. In marmoset I can't see any seams so I've ruled out texture/baking being the root of the problem.

Does anyone have any ideas?

Additional information: Materials only have normal maps. No lighting is being baked. I've tried flipping green channels. The compression settings are both set to normal map. alt text

alt text

Product Version: Not Selected
Tags:
untitled-3.jpg (133.2 kB)
marm.jpg (249.4 kB)
more ▼

asked Oct 24 '14 at 03:27 PM in Rendering

avatar image

Crofty
58 14 17 23

avatar image GuapoTaco101 Oct 24 '14 at 04:40 PM

Are you sure that your normals are smooth (the seams have the same value?

avatar image Crofty Oct 27 '14 at 11:16 AM

I assume so as in marmoset there are no seams. Unless they have some kind of normal map smoothing model.

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Ok so the problem was with the separate bakes of the head and body. The fix was like you suggested, combining and baking the mesh as one. To solve the overlapping UV islands I moved the respective unwanted island outside of the UV rendering zone, then created two models each prioritising either the head or body. I guess it was a normal inaccuracy problem with the open boarders. alt text

Cheers for your help.

uvs.jpg (174.2 kB)
more ▼

answered Oct 27 '14 at 04:02 PM

avatar image

Crofty
58 14 17 23

(comments are locked)
10|2000 characters needed characters left

If the direction of the normal maps is different (i.e. one is slightly rotated compared to the other) a normal seam might occur. The same can go for the first UV, if they are on different angles it might be hard for the tangents to smoothly blend over.

(This might also be why i.e. bethesda used global normal map for faces and local normal maps for bodies).

more ▼

answered Oct 24 '14 at 05:11 PM

avatar image

Luos
9.1k 283 62 327

avatar image Crofty Oct 27 '14 at 11:14 AM

I relaxed my UV maps around the problem area in the hope that the pixels would become more accurate. However the seam still persists. I also tried to average the UV density of the two pieces in the hope that even pixel density would solve it, but it also didn't work.
UV1 alt text

UV2 alt text

uv1.jpg (240.2 kB)
uv2.jpg (217.9 kB)
avatar image Crofty Oct 27 '14 at 12:10 PM

When I import both normal maps only the body is automatically compressed to a normal map, where as the face has to be changed manually. Could this information uncover a problem?

avatar image Luos Oct 27 '14 at 01:57 PM

Hmmm.. What you could try is to copy the model, combine the neck from the head and body as one uv and render out that normal/diffuse/whatever you need. then use photoshop/whatever to patch the seam in the seperate uv's.

Might work, ive been doing it for diffuse but I dont see any reason why it wouldnt work on other things like normals.

Basically its the same procedure as this: http://www.gamasutra.com/view/feature/130217/completely_eliminate_texture_seams_.php?print=1

Maybe that helps?

As for the normals being imported as non normals, it shouldnt be a problem. (At least, never noticed it being a problem)

avatar image Crofty Oct 27 '14 at 03:43 PM

Thanks for the reply.

I rendered the head and body onto one normal map and it seems to work. I also plugged the normal map twice into a multimesh and it worked. Ideally I'd like to have the head on a separate map.

So it may be a problem with the separate baking, although that wouldn't explain why it works in marmoset.

I think I'll try to bake both at once in Xnormals, however each time have my preferred island in the UV target area.~ I'll post the results if anyone else has the same problem.

avatar image Tim Hobson ♦♦ STAFF Oct 27 '14 at 05:36 PM

Hi Crofty,

I've setup a simple cylinder using multi-sub-object materials with a normal map.

I, however, am not seeing the same results you're seeing with this.

On the left is my mult-material asset Middle is the same object with single material placed on both material groups with a single normal map. UV is not split along the seam either. Right is the same as the middle with UV's split on the seam.

alt text

Tim

mult-sub.png (1.1 MB)
(comments are locked)
10|2000 characters needed characters left
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