Author Topic: composite materials wtih 2 or more materials  (Read 14438 times)

2015-03-20, 18:54:49

pmcf1981

  • Active Users
  • **
  • Posts: 271
    • View Profile
hi guys

is possible to make a composite having two or more materials ? I am trying to create a glass over has some chrome strips ..
the possibility of making composite of several materials in layers ?

something like the image attached ...

2015-03-26, 11:20:55
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13675
  • Marcin
    • View Profile
I was curious if it's possible to create such material and this is what I came up with. Not a very elegant solution but I think it works.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-03-26, 12:08:06
Reply #2

artmaknev

  • Active Users
  • **
  • Posts: 147
    • View Profile
    • about me
You can also use blend material to achieve this, one material is chrome and and is glass and mask is the black and white stripes.

2015-03-26, 12:24:02
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13675
  • Marcin
    • View Profile
You can also use blend material to achieve this, one material is chrome and and is glass and mask is the black and white stripes.
I thought this should be avoided as blend material + refraction = trouble, but it seems to work fine (or even better?) unless you enable refraction for the second material. Thanks for the idea. :)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-03-26, 20:55:36
Reply #4

pmcf1981

  • Active Users
  • **
  • Posts: 271
    • View Profile
maru can you show us how do you make the material or you use blend?


thks for the tip:)

2015-03-26, 22:53:17
Reply #5

twoheads

  • Active Users
  • **
  • Posts: 261
    • View Profile
I guess Maru has created blend material containing glass material, metal material and mask?

2015-03-27, 00:35:36
Reply #6

artmaknev

  • Active Users
  • **
  • Posts: 147
    • View Profile
    • about me
Its really simple, make blend material there are only two slots available for two corona materials, and 3rd slot is the mask to mix the two materials.  I use blend material all the time when I need simple mix between two materials.

In this case I used gradient ramp (switched linear to solid so it has solid lines).


2015-03-27, 09:22:17
Reply #7

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13675
  • Marcin
    • View Profile
Its really simple, make blend material there are only two slots available for two corona materials, and 3rd slot is the mask to mix the two materials.  I use blend material all the time when I need simple mix between two materials.

In this case I used gradient ramp (switched linear to solid so it has solid lines).
Yes, this is exactly how I did this.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-03-27, 12:38:45
Reply #8

pmcf1981

  • Active Users
  • **
  • Posts: 271
    • View Profile
ok realized ... and if we need a more complex material we can use blend within blend giving the possibility to use several layers mask materials

very cool :) thks

2015-08-10, 09:35:46
Reply #9

mtanasiewicz

  • Active Users
  • **
  • Posts: 112
    • View Profile
You mean like standard blend material?

2015-08-10, 12:13:12
Reply #10

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13675
  • Marcin
    • View Profile
We have CoronaLayeredMtl for this now. ;)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-08-10, 13:25:04
Reply #11

Torsten

  • Active Users
  • **
  • Posts: 78
    • View Profile
Hi Maru,

I would also like to use the  CoronaLayeredMtl but can't seem to find it in the Material Browser. Is this function only implemented in the daily builds? I use the v1.2 hotfix 1.


2015-08-10, 13:30:38
Reply #12

PROH

  • Active Users
  • **
  • Posts: 1219
    • View Profile
Yes, it's only in daily builds for now.

2015-11-23, 15:34:39
Reply #13

andrak

  • Active Users
  • **
  • Posts: 5
    • View Profile
Does anyone know, is the new CoronaLayeredMtl faster than the standard Blend material?

I have a number of materials that are using blend from an older version of Corona and there would be no benefit to me putting these into a CoronaLayeredMtl, as it's just 2 different materials blending, no more than that... unless it is faster.

2015-11-23, 16:08:13
Reply #14

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
2 materials will be the same speed, 3+ is better in layered mtl instead of chaining blend mtls.
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)