|
yeah - I know what you mean - I've wanted one that just overwrites the alpha of an input a few times. I consider writing it as it's really simple. Then I decide I can't be arsed as it wouldn't be used often enough to justify 10 minutes of dev..... damn I'm lazy.
Grab the shader wizard in 5. It's in the plugins manager under the new entry.
call them inputColor of type color and inputAlpha of type scalar. The code you want is:
miColor color = *mi_eval_color(¶ms->inputColor);
miScalar alpha = *mi_eval_scalar(¶ms->inputAlpha);
*result = color; result->a = alpha;
return miTRUE;
Cheers,
Alan.
On 1/20/06,
Chris Marshall <chris(at)eclipsecreative.co.uk> wrote:
yeah, but that takes 4 inputs!
I want two colour inputs, one for the rgb, the other (which is a black
and white rgb image) for the alpha.
Stefan Andersson wrote:
Color_Channels -> RGBA_Combine
regards stefan andersson
On 1/20/06, Chris Marshall
<chris(at)eclipsecreative.co.uk> wrote:
Hi All, Brain not working here. In the render tree, I have two rgb sources. I want to combine these so that the first becomes the rgb and the second becomes the alpha of the combined rgba colour. How do I do this without using any of the
Illumination nodes ie. Phong, Lambert etc? This is probably a stupid question, so sorry in advance! Thanks Chris
--- Unsubscribe? Mail
Majordomo(at)Softimage.COM with the following text in body: unsubscribe xsi
-- ________________________________________________________________________ http://stefan.sanders3d.com/
http://os3d.blogspot.com/
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe xsi
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi
|