Beer glass scene creation
This course contains a little bit of everything with modeling, UVing, texturing and dynamics in Maya, as well as compositing multilayered EXR's in Photoshop.
# 1 19-07-2011 , 06:29 PM
Dushyant's Avatar
Registered User
Join Date: Apr 2011
Location: On Earth
Posts: 168

PNG TEXTURE AS TRANSPEANCY MAP IN MAYA??

hey everyone

Want to know how to make png texture as transperancy map in maya. please be fast

I make an image in Photoshop use ppng as format colored it black n white when i load it in transparency option of my material its nt working i think i am mission a step.....:user added image(user added imageuser added image

# 2 19-07-2011 , 07:12 PM
honestdom's Avatar
The Nurb Herd
Join Date: Oct 2007
Location: London
Posts: 2,381
does it work as a tif/jpeg/targa?

# 3 19-07-2011 , 07:42 PM
Dushyant's Avatar
Registered User
Join Date: Apr 2011
Location: On Earth
Posts: 168
now its working....i was doing some mistake...but i have a question i go through Jeremy Birn pdf of lighting and rendering and in the Transparency maps its written that Black area work as SURFACE and white area is TRANSPARENT but when we use png as transparency map in that case BLACK area is transparent n white Looked as SURFACE....:/

Confused!..:/

# 4 20-07-2011 , 12:26 AM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522

now its working....i was doing some mistake...but i have a question i go through Jeremy Birn pdf of lighting and rendering and in the Transparency maps its written that Black area work as SURFACE and white area is TRANSPARENT but when we use png as transparency map in that case BLACK area is transparent n white Looked as SURFACE....:/

Confused!..:/


When you drag and drop textures into the transparency channels , Maya uses a different attribute to make the connection from texture to transparency channel depending on what type of shader is being used and so the shader will render differently, like the Maya standard shaders such as blinn vs a mia_material.

Other thoughts:
It's most likely because one is a vector attribute while the other is scalar, unlike the color attribute on the blinn and the mia_material's diffuse color, both taking RGB input and thus being vector attributes, so Maya uses the same 'outColor' attribute when connecting texture to shader.


- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::

Last edited by GecT; 21-07-2011 at 02:35 PM. Reason: wrong image
# 5 20-07-2011 , 07:41 AM
Dushyant's Avatar
Registered User
Join Date: Apr 2011
Location: On Earth
Posts: 168
thanks so much....very useful..

# 6 21-07-2011 , 02:39 PM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522
I used the wrong renders in the last image, here is a redo.user added image


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