Home Marmoset

Metal workflow?

DANLEL
vertex
Offline / Send Message
DANLEL vertex
I'm texturing an armor and I'm having some issues, I'm currently trying to figure out the best workflow of how to do this quickly. Some say you should use the gloss map as a spec and then the specular map serves as the color of the specular light. I found this didn't work very well. Currently I'm using an albedo map for base color, a normal map, a spec map which a brighter version of the albedo map and I use the same map for the gloss. Kinda looks like metal I guess, but I want this armor to be black.

Making the spec map darker is going to kill the specular light, making the gloss map darker is going to make the entire model rougher and less metal looking. How do you create a black armor?

Replies

  • DANLEL
    Offline / Send Message
    DANLEL vertex

    I changed it from specular to metalness and without any map the result seems ok? Not sure if this is how you're supposed to do it, any heads up would be appreciated otherwise I'll proceed since it does look like metal now.

    And there's one more issue, when I zoom out nasty seams appear, do you really have to expand each uv island within photoshop maybe with stroke or something to make these disappear?

  • EarthQuake
    Creating convincing metal really comes down to understanding the material properties. Whether you're using the a spec or metalness map workflow doesn't make much difference, those are just different ways to store the same data. Here are a few articles I recommend on understanding PBR, material properties and specular/metalness workflows:

    https://www.marmoset.co/posts/basic-theory-of-physically-based-rendering/
    https://www.marmoset.co/posts/physically-based-rendering-and-you-can-too/
    https://www.marmoset.co/posts/pbr-texture-conversion/

    Once you understand the fundamental concepts of how the texture maps work in a PBR system, you should research the material you're trying to create, find many images of that surface type and study how reflective it is, how glossy it is, etc. Your two posts show drastically different materials, which makes me think you're not quite sure what you want to create.

    As far as seams when you zoom out, generally this means your maps do not have padding. Padding is usually added to your normal, ao, etc when baking your textures from the high poly. Crank up the padding value when you do that. You also need to make sure there is enough space between your UV islands, so they don't bleed into each other when the textures mip map.
  • DANLEL
    Offline / Send Message
    DANLEL vertex
    I'm aware of the padding issue, I rebaked all my normal maps with extra padding and I suppose with the diffuse that's what the "fill" option is for when you export a map from some 3d texturing software. It's just somewhat annoying to have to deal with and not something I've had to deal with for some time, hoped there was some faster way.

    I'm pretty sure I understand the concept of how the maps work, what gloss or roughness is for example. The rougher an object is the less light is refracted from the material and the spec map value should just stay at 0.5 because it's just used to determine the specular color. So you expect a black and white gloss map to be enough to make something look very metal like and the albedo map to make the metal look black but that just seems to make the armor look like this. 

    Yes it's metal but it's not black metal, some of the blackness from the albedo map is shining through but not the amount I'm hoping for. And lowering or inverting the gloss map don't do anything, it either kills the spec or you get a similar result. I guess I want a material similar to this:

    Just with a surface that has far more texture I just can't figure out how to do it correctly. Maybe remove the albedo map all together and just use a gloss and a spec map? I find this confusing, maybe black metal is an oxymoron and what black armor actually would need to be shiny is a clearcoat layer or some specular paint or something? If that's the case, is there a clearcoat option in marmoset?
  • EarthQuake
    Okay, so for a pure metal, that is to say no coating, oxidization, paint etc, the look color of the material comes entirely from the specular reflections, the diffuse would be 0% (black). With a specular workflow, that would mean diffuse = 0 and color of the material goes in the spec map. For metalness workflow, that would be metalness = 1 and color of the metal in the albedo. This is explained in some detail in the articles I linked earlier.

    Now, It looks like you're trying to create some sort of blackened metal. So the first question to ask is, what makes the metal black? Is it painted black? Is it some sort of coating? Is it oxidized? Doing a little research it seems like some sort of oxidized "blackening" coating is most likely. Oxidized coatings are used to prevent corrosion and reduce reflectivity. https://en.wikipedia.org/wiki/Black_oxide

    For something like this, you would probably want to use a black or near black diffuse, and then a reflectivity value that is closer to than of an insulator (around 4%) than a pure metal (usually 70-100% range). When you have a very dark diffuse, even low reflectivity values like 4% can seem very reflective.

    Then it's simply a matter of observing the material and coming up with a good gloss value. Toolbag doesn't have a clear coat shader, but I don't think it's necessary in this case.



    This is diffuse = 0 and spec at 4%. 

    Lighting is very important too, try to pay attention to the shape of the reflections in your reference to see understand the lighting setup for the photo. Your lighting setup that you seem to have here is very ambient, I would recommend placing some spot lights around and adjusting the light width and intensity to get something more like your reference.
  • DANLEL
    Offline / Send Message
    DANLEL vertex
    That does look nice, I'm not sure if I'm using an older version of marmoset but 0 diffuse and 4% spec doesn't seem to make much sense with the UI I'm looking at. Here's what I've currently got, what changes would you suggest for improving this. None of it makes any sense to me except the end result which I kinda like. But your sphere would probably look even better, if I only knew how to achieve it.  :(

  • EarthQuake
    You're using Toolbag 2 it looks like, while this isn't the most current version (TB3 is), the basic shading and lighting system is the same.

    4% is in linear space, to play around with this, unload the spec map and set the specular intensity value to 0.04. You can play around with values here, maybe try 0.04 to 0.08 or so.

    Now, when using a specular map generally the texture is loaded in gamma space (sRGB), which means 4% = 56,56,56 or hex #383838. Try playing around with a flat color for the spec, I think you have too much variation there now. The reflectivity of a material doesn't tend to change unless the material itself changes. For instance, if you have a steel surface with a rubber coating, and you have some edge wear where the rubber is scratched away, the areas where the rubber is no longer visible would be steel, so the reflectivity would go from 4% to maybe 70% or so in those areas.

    Generally the gloss map is where you should throw all those scratches and other micro detail. In the screenshot I posted the gloss is about 75% - gloss maps tend to be linear space so you can simply use a value of ~75%. Try making that your mid-range with darker and lighter values for variation. To experiment I would suggest clearing the gloss map and playing with the slider here too. Due to energy conservation, the rougher the surface is, the wider and dimmer the specular highlight is, which makes rougher materials appear less reflective. It looks like your gloss map is mostly in the low values, so it's probably too rough.


    Before I add any detail to a texture, I block in simple values using the sliders in TB, it's really quick to create a base material this way, and it's useful for getting a feel for various materials and settings.

    Again, throw some lights in there too. Your lighting is very flat atm, so there are no spots where your material is picking up interesting highlights.
  • DANLEL
    Offline / Send Message
    DANLEL vertex
    Thanks the issue was that the gloss map was too dim, I forgot the maps need to have a high contrast to appear metallic. Now it looks more like black metal, but might  need to fiddle with the contrast of the gloss map a bit more to make it looks really shiny and dark. Thanks.  :) 

Sign In or Register to comment.