Maya 2020 fundamentals - modelling the real world
Get halfway through a model and find it's an unworkable mess? Can't add edge loops where you need them? Can't subdivide a mesh properly? If any of this sounds familiar check this course out.
# 1 16-11-2012 , 05:06 PM
Subscriber
Join Date: Apr 2007
Posts: 183

Is there any way to replicate the Maya shaders black hole?

Is there any way to replicate the Maya shaders black hole using Mia materials? Cause when i use lamberts with black hole it doesn't respect my transparency
maps which causes an odd effect when i do my volumetric fog passes

# 2 16-11-2012 , 06:17 PM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522
Could you explain a bit more what you're trying to do and a shot or two of whats happening?


- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::
# 3 16-11-2012 , 11:31 PM
Subscriber
Join Date: Apr 2007
Posts: 183
Sure, here is a picture where i have put a lambert with black hole on all the polys in the scene. And on the leaves i have put the leaf lifes on the transparency node in the lambert. And i get these "cards" instead of them taking the shape of the leaf

Attached Thumbnails
# 4 17-11-2012 , 01:12 AM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522
Oh! Well then the mia_mat has a cut out opacity attribute just for stuff like that, it's in the 'advanced' section. Just jam your alpha info into that.


- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::
# 5 17-11-2012 , 01:29 AM
Subscriber
Join Date: Apr 2007
Posts: 183
Ah, yes. But i rendered the fog as a seperate pass meaning that the trees, ground etc needs to be transparent in photoshop which is done by the lambert black hole. And if i use a mia material with cutout opacity then the trees will not get transparent they will just be black (since the only thing one can do in mia as far as i'm aware is to put the color to black)


Last edited by SwatSnipe; 17-11-2012 at 01:37 AM.
# 6 17-11-2012 , 01:32 AM
Subscriber
Join Date: Apr 2007
Posts: 183
To clarify: The beauty pass has cutout opacity on all the leaves and it works perfectly. It's only when i render the fog in a seperate pass that i need to use black hole that has the same cut out opacity

# 7 17-11-2012 , 02:10 AM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522
Have you checked out using contribution maps for the pass?


- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::
# 8 17-11-2012 , 03:18 PM
Subscriber
Join Date: Apr 2007
Posts: 183
No, what's that? (I'm a noob) user added image

# 9 19-11-2012 , 01:53 AM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522
If you're seeking to add simple fog to the scene then outputting a zdepth pass and using that to apply a fog filter in post would be the easier bet since contribution maps are jibberish user added image.


- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads