Join or
3d forums home Resources for 3d artists


Maya: alpha channel question




3d Forum -> 3D Texturing Forum Previous topic | Next topic
srge Posted: June 15, 2006   Post subject: Maya: alpha channel question
3D forums member


Joined: 15 Apr 2006
Posts: 27

Back to top
Reply
Hm... Okay I have a TGA. It's basically some white labels for buttons. It has an alpha channel, but unlike my other buttons that had a black texture... these ones with a white texture don't show up.
From the image File I added File.outAlpha > Projection.Image.R/G/B and that made it show up. BUT now it only shows up as black. =P
The big question in my mind, is that this works with other buttons where the button decal is black, but when the button decal is white it frick'n pukes.
So I'm assuming that it's just using the Alpha channel at this point for the color

PolyGru Posted: June 16, 2006   Post subject:
3D forums member


Joined: 03 Feb 2006
Posts: 49

Back to top
Reply
Maybe its related to the transparency
But actually you have to see something
I think that you are plugin the alpha into the colors
Does the projection have no alphaSlot?


_________________
Poly Guru

srge Posted: June 16, 2006   Post subject:
3D forums member


Joined: 15 Apr 2006
Posts: 27

Back to top
Reply
Not really, it just hooks up File.outColor > Projection.Image by default

PolyGru Posted: June 16, 2006   Post subject:
3D forums member


Joined: 03 Feb 2006
Posts: 49

Back to top
Reply
But i would think there is an outAlpha also
_________________
Poly Guru

srge Posted: June 16, 2006   Post subject:
3D forums member


Joined: 15 Apr 2006
Posts: 27

Back to top
Reply
File.outAlpha doesn't have any logical place to hookup that I saw

PolyGru Posted: June 16, 2006   Post subject:
3D forums member


Joined: 03 Feb 2006
Posts: 49

Back to top
Reply
I mostly only use projectionMapping for gradients
I see an alphaGain here in the projectionNode
_________________
Poly Guru

srge Posted: June 16, 2006   Post subject:
3D forums member


Joined: 15 Apr 2006
Posts: 27

Back to top
Reply
AlphaGain? lemmie hook up that one and I'll tell you what spits out

PolyGru Posted: June 17, 2006   Post subject:
3D forums member


Joined: 03 Feb 2006
Posts: 49

Back to top
Reply
And i see an outAlpha from that projectionNode
Thats what you have to use
_________________
Poly Guru

srge Posted: June 17, 2006   Post subject:
3D forums member


Joined: 15 Apr 2006
Posts: 27

Back to top
Reply
Just to clarify, in the alpha channel what's WHITE is visible, and BLACK is masked...

PolyGru Posted: June 17, 2006   Post subject:
3D forums member


Joined: 03 Feb 2006
Posts: 49

Back to top
Reply
In the alphaChannel that is
For transparency, its what white is transparent, and black is opaque
_________________
Poly Guru

srge Posted: June 17, 2006   Post subject:
3D forums member


Joined: 15 Apr 2006
Posts: 27

Back to top
Reply
Ah, I had it right the first time
Okay, I hooked File.outAlpha > Projection.Alpha Gain... lets render and see =]

PolyGru Posted: June 17, 2006   Post subject:
3D forums member


Joined: 03 Feb 2006
Posts: 49

Back to top
Reply
And you have to hook up outAlpha aswell
I mean to the transparency
Of the actual shader
_________________
Poly Guru

srge Posted: June 17, 2006   Post subject:
3D forums member


Joined: 15 Apr 2006
Posts: 27

Back to top
Reply
okay now it seems to say "fuck you" and ignores the projection. =P
And tiles across the geometry

PolyGru Posted: June 17, 2006   Post subject:
3D forums member


Joined: 03 Feb 2006
Posts: 49

Back to top
Reply
Does it tile around the area or within ?
_________________
Poly Guru

srge Posted: June 17, 2006   Post subject:
3D forums member


Joined: 15 Apr 2006
Posts: 27

Back to top
Reply
Within
Each button
Instead of within the projection
I've deleted the 2DProjection node and I'm going to try that =]

PolyGru Posted: June 17, 2006   Post subject:
3D forums member


Joined: 03 Feb 2006
Posts: 49

Back to top
Reply
Hmm thats unexpected
It doesnt ignore the projection, it would have to use uv then
So you see the complete texture within every button ?
_________________
Poly Guru

srge Posted: June 17, 2006   Post subject:
3D forums member


Joined: 15 Apr 2006
Posts: 27

Back to top
Reply
Not the whole thing

PolyGru Posted: June 17, 2006   Post subject:
3D forums member


Joined: 03 Feb 2006
Posts: 49

Back to top
Reply
First of all if you don't need tiling, turn it off
WrapU wrapV
Then everything else get the default color so make it black
_________________
Poly Guru

Sponsor Posted: February 09, 2012   Post subject:
3d forum sponsor


Joined: 09 Aug 2010
Posts: 1

Back to top

Reply to topic    3d Forum -> 3D Texturing Forum Previous topic | Next topic
Username:
Message body:
To Attach an Image to your post write the message then press the Go Advanced button. In the bottom of the advanced reply screen you will see an option to upload an image from your computer.

Confirmation code: Enter the code with CAPITAL LETTERS. There is no zero. Please add the result of 10-2*3= in front of the code.