CGTalk > Software > Autodesk Maya
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 03-30-2013, 01:41 AM   #1
M1KES
Know-it-All
portfolio
Michael Gomes
Creature FX TD
MPC
Vancouver, Canada
 
Join Date: Dec 2004
Posts: 301
Send a message via MSN to M1KES
Blending 2 shaders

Hi everyone!
I come from a 3ds max background and there we had a very simple material called blend, where we could pick our 2 materials and blend them according to a black and white mask image we make. I did some research and got the layered shader to work properly when putting an image into the transparency. Problem was when i switched over to mental ray it stopped working, it just shows one of the shaders when rendered. But its strange cause it works if i have a checkerboard in the transparency, but as soon as i put my own black and white image it just doesnt work.

I did some more research and saw that the layered shader doesnt work too well with mental ray and people were using stuff like JS MultiLayers, mix20Layer and mix8Layer.. but i tried them and they wont work for maya 2013 64bit. They are too old.

This used to be so easy in 3ds max that i think i might be missing something.. is there any solution for the problem?

Any help would be appreciated
__________________
--------
Michael
 
Old 03-30-2013, 01:44 AM   #2
Panupat
Expert
 
Panupat's Avatar
portfolio
Panupat Chong
Thailand
 
Join Date: Feb 2004
Posts: 1,942
Try the mib_color_mix node.
 
Old 03-30-2013, 02:49 AM   #3
M1KES
Know-it-All
portfolio
Michael Gomes
Creature FX TD
MPC
Vancouver, Canada
 
Join Date: Dec 2004
Posts: 301
Send a message via MSN to M1KES
Thank you so much Panupat, that worked.. although its not as straight forward as i thought it would be, the result is what i needed.
__________________
--------
Michael
 
Old 03-30-2013, 04:57 AM   #4
Zhbdcafe
MayaArtist
portfolio
Zahid Hasan Zitu
No
Sylhet, Bangladesh
 
Join Date: Jul 2012
Posts: 171
Send a message via MSN to Zhbdcafe Send a message via Yahoo to Zhbdcafe
Layering shaders in maya sometimes looks confusing to some people. The Layered shader is always good to me. And I don't like the mib_color_mix, it just crashes. And I am afraid about mix8layers or mix20layers that if i fall into a problem, there is not enough discussion about them. What I wanted is to find any trick to use mental ray shaders with maya's traditional Layered material. At last I found a way. The Gnomon Workshop published a fantastic tutorial about it. May be many people don't know about it. Here is the link http://www.thegnomonworkshop.com/store/category/167
find the free tutorial named
"COMBINING MULTIPLE
MENTAL RAY MIA
MATERIALS". Have a great day!
 
Old 03-31-2013, 09:05 PM   #5
jtheninja
Doesn't Have a Title
portfolio
Jason Clarke
Generalist-type person
Portland, USA
 
Join Date: Sep 2010
Posts: 240
You can also plug the "result" output on the mia_material into the blendcolors node, then plug that into the additional color slot on a third mia_material (which is assigned to the object). Kind of weird, but it works.
 
Old 03-31-2013, 09:05 PM   #6
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,480
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 03:34 AM.


Powered by vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.