dr_bob
05-26-2002, 04:17 PM
Hi
I'm trying to apply a non-rectangular label to a bottle in Maya.
I've created a label in Photoshop - with an alpha channel - and applied this texture to the colour channel of a blinn material.
In the hypershade, I've connected the outAlpha of the image file to the RGB transparency of the blinn material - this uses the alpha to cut out the portions of the label I don't want to see.
If I now apply this material to the bottle, the alpha acts as expected. So far so good. The problem arises if I resize the label on the bottle - the alpha does NOT resize, resulting in the color map and the alpha getting out of sync.
Does anyone have any suggestions as to how I can force the alpha channel to resize with the RGB channels? I would have thought this would happen automatically, given that the alpha and colour channels are parts of the same file, but apparently not.
Thanks in advance.
I'm trying to apply a non-rectangular label to a bottle in Maya.
I've created a label in Photoshop - with an alpha channel - and applied this texture to the colour channel of a blinn material.
In the hypershade, I've connected the outAlpha of the image file to the RGB transparency of the blinn material - this uses the alpha to cut out the portions of the label I don't want to see.
If I now apply this material to the bottle, the alpha acts as expected. So far so good. The problem arises if I resize the label on the bottle - the alpha does NOT resize, resulting in the color map and the alpha getting out of sync.
Does anyone have any suggestions as to how I can force the alpha channel to resize with the RGB channels? I would have thought this would happen automatically, given that the alpha and colour channels are parts of the same file, but apparently not.
Thanks in advance.
