Mix material - other options?

Forums: Mix material - other options?
3D Studio Max Plugin (Export Script Plugins developed by [gk] and KilaD; Integrated Plugin developed by Karba)
Forum rules
Please post only in English in this subforum. For alternate language discussion please go here viewforum.php?f=18

Mix material - other options?

Postby stir » Fri Feb 16, 2018 9:30 am

stir Fri Feb 16, 2018 9:30 am
Hi.

I am trying to blend between 2 materials. And mix materials sound like the logical and only option to do that.
Sadly i ain't getting the result i am looking for.


As you can see from the gif i have attached, i want to blend from a RAW state to a Grilled state.
Having made a RAW material and a Grilled material i now try to blend between them using the mix node.

The problem is that it gets brighter before it gets darker again.
I belive this has something to do with both materials beeing 50% each in the middle of the transition.

Does it exist another way to blend them? like have the other material ONTOP of the other?
Like:

Base material 100%
layer1 - animating from 0-100%


Instead of how mix material work right now

Material1 100 to 0%
Material2 0 to 100% (atleast that how i think it works, i am just guessing)


I hope my explanation is not to confusing.

Thank you
-Mats
Attachments
Polse_Morph_002.gif
------------------------------------------------------------------------------

http://www.stir.no
stir
Licensed Customer
Licensed Customer
 
Posts: 101
Joined: Sun Apr 10, 2016 7:12 am

Re: Mix material - other options?

Postby paride4331 » Fri Feb 16, 2018 12:37 pm

paride4331 Fri Feb 16, 2018 12:37 pm
Hi stir,
you could animate the materials but the textures also and at the same time. you could use a texture in amount like alpha.
Or use the compare texture node.
https://render.otoy.com/forum/viewtopic.php?f=27&t=61208&p=313128&hilit=Comparison#p313128
Regards
Paride
Attachments

[ Play Quicktime file ] rik.mp4 [ 6.64 MiB | Viewed 1241 times ]

2 x Evga Titan X Hybrid / 3 x Evga RTX 2070 super Hybrid
User avatar
paride4331
Octane Guru
Octane Guru
 
Posts: 3686
Joined: Fri Sep 18, 2015 7:19 am

Re: Mix material - other options?

Postby stir » Fri Feb 16, 2018 3:47 pm

stir Fri Feb 16, 2018 3:47 pm
thanks for the reply paride.
i'm not sure i understand what you are saying.

Putting a texture inn the amount slot instead of animating it from 0-1 shouldn't make a difference when it comes to the "brightness" issue.
I will add a map in the amount later on as this will give a more organic and interesting breakup in the transition.

But right now i need to stop it from brightening up.


After digging a bit more it seems to be somewhat connected to the SSS (specular) material.
material.png



As you can see on the picture i added.
I have a "raw" material and a "grilled" material. each of these compose of a glossy and a specular material that is mixed with 0.4 value.

If i turn these mixes to 1 so only the glossy materials is in effect and animate the "morph" mix node from 0 to 1 the colors/brightness animate as expected.
If i keep them at 0.4 and animate the morph node it gets that increased brightness before it goes dark again.



a solution might be, instead of having 2 separat materials like now that i try to mix between, i just have 1. and animate all the different values and blend all the different maps innside that one shader.........but that sound like a painful job.....


Thanks

Best regards
-Mats
------------------------------------------------------------------------------

http://www.stir.no
stir
Licensed Customer
Licensed Customer
 
Posts: 101
Joined: Sun Apr 10, 2016 7:12 am

Re: Mix material - other options?

Postby paride4331 » Mon Feb 19, 2018 2:22 pm

paride4331 Mon Feb 19, 2018 2:22 pm
Hi Stir,
this is using only mix material, changing specular in 2 steps.
Regards
Paride
Attachments
01.zip
(3.71 MiB) Downloaded 129 times
2 x Evga Titan X Hybrid / 3 x Evga RTX 2070 super Hybrid
User avatar
paride4331
Octane Guru
Octane Guru
 
Posts: 3686
Joined: Fri Sep 18, 2015 7:19 am

Return to Autodesk 3Ds Max


Who is online

Users browsing this forum: No registered users and 9 guests

Fri Mar 29, 2024 12:41 am [ UTC ]