SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 21-04-2004, 07:19 PM   #1
dberry
Subscriber
 
Join Date: Aug 2003
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default Odd transparency with a Layered Shader

Ok I'm worrking on basically putting decals on top of a basic blinn shader with some noise put in the ambient color field to give it some variation. The decal is a tif file with an alpha channel layred on top of the base. The wierd thing is that even though it has a fully white and black alpha it still doesn't go transparent all the way. You can still se some of the white BG on the lettering that i'm trying to get rid of useing that alpha channel. So my question is how do i make that white bar go away completly instead of just somewhat transparent. the lettering is opaque but the BG is not fully transparent. Help is greatly appreciated.
Attached Thumbnails
Click image for larger version

Name:	test.jpg
Views:	452
Size:	17.8 KB
ID:	14649  
dberry is offline   Reply With Quote
Old 21-04-2004, 09:45 PM   #2
NitroLiq
Moderator
 
NitroLiq's Avatar
 
Join Date: Nov 2002
Location: New York
Posts: 2,133
Thanks: 0
Thanked 10 Times in 9 Posts
Default

Not quite sure if this will solve your problem or not but I helped someone awhile back get a decal w/transparent bkgnd onto a coffee mug and posted a step-by-step in this thread:

http://www.forum.simplymaya.com/show...ighlight=label

Mike also has a tut on layered shaders at his site, http://www.mtmckinley.net/ in the "other" section.
__________________
"Terminat Bora Diem, Terminal Auctor opus."
NitroLiq is offline   Reply With Quote
Old 23-04-2004, 05:59 PM   #3
dberry
Subscriber
 
Join Date: Aug 2003
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey, Thanks for the link and i followed the step by step exactly, but it's still giving me that semi transparent white bar. I'm not sure what i can to to fix it. Any ideas?
dberry is offline   Reply With Quote
Old 23-04-2004, 08:03 PM   #4
NitroLiq
Moderator
 
NitroLiq's Avatar
 
Join Date: Nov 2002
Location: New York
Posts: 2,133
Thanks: 0
Thanked 10 Times in 9 Posts
Default

In you original decal image, the letters/numbers should be totally white and the background completely black. That's the only thing I can think of offhand.
__________________
"Terminat Bora Diem, Terminal Auctor opus."
NitroLiq is offline   Reply With Quote
Old 23-04-2004, 09:38 PM   #5
dberry
Subscriber
 
Join Date: Aug 2003
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found a tutorial online also about layered textures instead of layered shaders and It's given me a little more promise but still there's a discoloration between where the image projection stops and the normal texture begins. I've attached the basic file and the image i've been using so you can see how my shading network is set up. If you can figure anything out it would be wonderful.
Attached Files
File Type: zip layered.zip (22.0 KB, 27 views)
dberry is offline   Reply With Quote
Old 24-04-2004, 12:54 AM   #6
NitroLiq
Moderator
 
NitroLiq's Avatar
 
Join Date: Nov 2002
Location: New York
Posts: 2,133
Thanks: 0
Thanked 10 Times in 9 Posts
Default

Not sure. Here's another tut that may help you:

http://www.highend3d.com/maya/tutorials/layeredtexture/
__________________
"Terminat Bora Diem, Terminal Auctor opus."
NitroLiq is offline   Reply With Quote
Old 24-04-2004, 04:27 AM   #7
dberry
Subscriber
 
Join Date: Aug 2003
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default

that's the one i followed yet still i get that weird discoloration. Did you get the same effect nitro? Hopefully we can figure this out.
dberry is offline   Reply With Quote
Old 24-04-2004, 01:53 PM   #8
NitroLiq
Moderator
 
NitroLiq's Avatar
 
Join Date: Nov 2002
Location: New York
Posts: 2,133
Thanks: 0
Thanked 10 Times in 9 Posts
Default

Yeah, I looked at the file but to be honest, it's been quite awhile since I've worked with Maya so I'm not positive if it might be something missing on our both out parts.
__________________
"Terminat Bora Diem, Terminal Auctor opus."
NitroLiq is offline   Reply With Quote
Old 24-04-2004, 10:58 PM   #9
NightPhantom
Registered User
 
NightPhantom's Avatar
 
Join Date: Nov 2003
Location: Florida
Posts: 269
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry, I tried, but you are using polygons, and I only know how to texture NURBS... I'm not very familiar with the whole UV mapping deal.
__________________
There can not be Good without Evil, so then it must be good to be Evil sometimes.

:tup:
NightPhantom is offline   Reply With Quote
Old 25-04-2004, 05:34 PM   #10
dberry
Subscriber
 
Join Date: Aug 2003
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default

it's not a matter of Uv's is it? I mean I sized the projection to fit in the area where I want it but I think it's the transparency that's the problem. though i could be wrong.
dberry is offline   Reply With Quote
Old 25-04-2004, 06:35 PM   #11
NightPhantom
Registered User
 
NightPhantom's Avatar
 
Join Date: Nov 2003
Location: Florida
Posts: 269
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, I noticed that most of the UVs are ouf of the image, so that makes me wonder what color are they? I mean, black is transparent and white is opaque, when texturing with NURBS I use the 2DPlacement note to center the image, but that leaves a gray border around it (assuming that I had to resize it down). so then I can go to the file node and change the offset color to black (or to white depending of what I'm trying to do).
But with the UVs in polygons I don't know how that works. I mean, is the area outside the image gray? Why don't you try changing to NURBS and doing it like I do, or try creating a black square (512x512) in photoshop and put the image that you want right in the middle of it and then have all the UVs within the picture. Also, I would separate the alpha and then actual picture. Create two files, one for the color and one for transparency. I usually do that because in the past I've had some truble getting the alpha channel to work right (or I don't have much control over it).
__________________
There can not be Good without Evil, so then it must be good to be Evil sometimes.

:tup:
NightPhantom is offline   Reply With Quote
Old 25-04-2004, 07:52 PM   #12
dberry
Subscriber
 
Join Date: Aug 2003
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, I figured it out. Thanks for all the help guys. If anyone is interested in how i did it i'll give the answer here. It turns out that in the file node you have to go to color balance and change the default color from gray to black.
dberry is offline   Reply With Quote
Old 25-04-2004, 08:05 PM   #13
NitroLiq
Moderator
 
NitroLiq's Avatar
 
Join Date: Nov 2002
Location: New York
Posts: 2,133
Thanks: 0
Thanked 10 Times in 9 Posts
Default

Glad to hear you figured it out. Congrats!
__________________
"Terminat Bora Diem, Terminal Auctor opus."
NitroLiq is offline   Reply With Quote
Old 05-08-2012, 08:24 AM   #14
macleodgrant
Subscriber
 
Join Date: Nov 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i spent ages trying to figure this out now and eventually managed to sort it.
why maya has default colour to grey is anyone's guess - took hours to resolve
macleodgrant is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

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

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.