Complex UV Layout in Maya
Over the last couple of years UV layout in Maya has changed for the better. In this course we're going to be taking a look at some of those changes as we UV map an entire character
# 1 28-08-2013 , 04:27 AM
Registered User
Join Date: Aug 2013
Posts: 1

Shader or Render Problem Please Help

Mostly Im trying to make leaves and the shader says that it works, but when I render it it still shows a white background with leaves. Tried to figure this out for a few days and its either the render or the shader, but I have deleted the shader and tried it again but no go. I also opened a new project to see if it was the file I was working on and still same result. Any help would be awesome! Textures were made in photoshop and saved as Targas since my maya doesnt like jpegs. user added image

Attached Thumbnails
# 2 29-08-2013 , 07:13 PM
PixalZA's Avatar
Lifetime Member
Join Date: May 2011
Location: Riyadh, Saudi Arabia
Posts: 525
A couple of ways to get around this. One way is to add an alpha channel to the diffuse texture in PS (file34). Then you can connect the outtransparency of the diffuse texture node to the transparency of the blinn. Another way when using a straight mask texture (file35) is to connect the outcolor of the mask to the transparency of the blinn. Just remember white is transparent, black is not. You can invert the mask texture in PS, or select the invert option under the "Effects" tab of the file node in the attribute editor or can you can add a reverse node between the file and the blinn.

You will also have to mask the specular reflections or else you will get unwanted highlights from the transparent sections.


Earth: The crazy asylum of the universe.
# 3 29-08-2013 , 10:34 PM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522
It's your Mental Ray preferences. Go into Window>Settings/Preferences>Preferences and in the "Rendering" category, check on "use Maya style alpha detection"(or something like that).


- 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