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

2019-08-16, 12:28:48

Tanakov

  • Active Users
  • **
  • Posts: 787
  • 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

2019-08-16, 14:11:46
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 6083
  • 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.

2019-08-16, 16:13:29
Reply #2

Juraj Talcik

  • Active Users
  • **
  • Posts: 3763
  • 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

2019-08-16, 17:06:58
Reply #3

pokoy

  • Active Users
  • **
  • Posts: 1444
    • 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.

2019-08-16, 19:38:38
Reply #4

PROH

  • Active Users
  • **
  • Posts: 1045
    • 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.

2019-08-19, 10:11:54
Reply #5

Tanakov

  • Active Users
  • **
  • Posts: 787
  • Corona is faster than diarrhea
    • View Profile
    • https://www.behance.net/Gringott
My idea is to add something similar to the

Environment option where you can add multiple HDRI's, so adding multiple Override's with lists would be amazing.

Possible use I can come up with?
- Snow
- Ice
- Dust
- Rust
- Dirt
- Comic/Tune
- Light Halo's
- Water/Wet layer

Devs plis dont ignore me for next 6 years with this one
Corona since 2014.06.02
https://www.behance.net/Gringott

2019-08-19, 11:20:38
Reply #6

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 9269
  • Marcin
    • View Profile
Makes sense. Logged in our internal tracker. Please note that V5 is going to be a mostly maintenance release, so not many new features are expected.
(internal id=387330197)


Devs plis dont ignore me for next 6 years with this one
Ok, you will be ignored for 8 years