Some questions about layered materials (Greypack)

Hey, I just started using layered materials and I don’t really know it’s limitations or possibilities, so I got some questions that I wanted to ask!

  1. Can you put more than 3 different materials per texture? Right now I got one material for blue, one for red and one for green. Can I blend those colors so I can use more materials?
  2. Can you put a filter so for example all parts in the texture with green between 245-255 will be “metal material” and then it ignores other colors with values below that? So if there’s a part of the texture that is 240 then it will not be considered metal?
  3. http://i.imgur.com/J6nk0ZF.png here’s my try in using layered material and this is the result http://i.imgur.com/d8vxtvh.png . How should I change this so the gray colors doesn’t look like skin?

Thanks for an awesome engine and all help is appreciated!

You can use AntialiasedTextureMask and CheapContrast expressions to get cleaner edges for your masks. What you are doing isnt’t exactly layered materials, by the way, but it still serves this purpose.

Hey, thanks for the reply it helped me get things fixed. I just got one problem left. I’ve pushed the antualisedtexturemask as much as I can without compremissing with the rest of the texture but still there is a very tiny gap between the materials just like in the previous picture http://i.imgur.com/d8vxtvh.png that gap also seems to grow bigger the further away I am. Do you know what I can do?

It looks like a problem with your mask texture.