Author Topic: Mega-Max-Layered Material-XXExtreme  (Read 108 times)

Yesterday at 12:28:48

Tanakov

  • Active Users
  • **
  • Posts: 768
  • Corona is faster than diarrhea
    • View Profile
    • https://www.behance.net/Gringott
Hello,
recently I was working on a snow shader that would cover all surface using the Z-axis of the object.
I noticed that changing all my materials in to "Layered material" with exactly the same Coat and different base will be very time-consuming.

I thought about some kind of "Global Layered material" that could work with some kind of list like "distance" does or even
"Material Override Add Coat"

Does that sound good?
Corona since 2014.06.02
https://www.behance.net/Gringott

Yesterday at 14:11:46
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 5707
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Sounds interesting. Maybe that could be somehow integrated into global material override. I remember back in the days, Brazil has pretty powerfull override system. It would be interesting to have something similar in Corona.
I'm not Corona Team member. Everything i say, is my personal opinion only.

Yesterday at 16:13:29
Reply #2

Juraj Talcik

  • Active Users
  • **
  • Posts: 3611
  • Tinkering away
    • View Profile
    • studio website
Unreal has this, though I am not sure how that setup looks. Worth investigating.
talcikdemovicova.com  Website and blog
be.net/jurajtalcik   Our studio Behance portfolio
Instagram   Our studio Instagram, managed by Veronika

Yesterday at 17:06:58
Reply #3

pokoy

  • Active Users
  • **
  • Posts: 1402
    • View Profile
Sounds interesting. Maybe that could be somehow integrated into global material override. I remember back in the days, Brazil has pretty powerfull override system. It would be interesting to have something similar in Corona.

Yes, Brazil's override was pretty powerful, and you could use BlurBeta's 'Do Nothing' map to keep a material property from being changed. I kind of always wished Corona would have this. We have some of this functionality in the preserve options in the material overrides but it's not as powerful and works only for some of the material properties.

In an ideal world, it would be a new material type where you could check any of its parameters  to override globally, unchecked would read that property from scene materials and leave them unchanged.

From past conversations it is not possible with the current material implementation. When I asked for a 'preserve bump' option the answer was that it would need a rewrite of how materials work in Corona.

Yesterday at 19:38:38
Reply #4

PROH

  • Active Users
  • **
  • Posts: 994
    • View Profile
+ 1000 for some sort of global "overlay"-override. Makes sense with snow, as well as adding toon-shaders/lines to a fully build and shaded scene.