Iray Material Development / Shader Mixer

Hi,

I'm not sure if this is the right forum but I'm hoping to reach out to those of you in the community who have experience with the Shader Mixer.   

Is there any good reference material for the various bricks in the Brickyard?    I'm enjoying the experimentation but I'm flying a little blind...

I'm trying to adapt the Uber Shader to allow for more than one base color driven by a mask(s) to control the color of a clothing item.   The basic premise is that surfaces are limited by the geometry density and topology of the item whilst a masks limitation is just the resolution of the mask.   

As a proof of concept I have been able to use the Blend Colors brick along with an image map to mix 2 different base colors which is promising but not quite what I'm hoping for.   

In the attached image I've created 2 Base Color Maps as inputs into a Blend Color Brick that use another map as the Blend Weight.    The first color is appears where the mask is White, the second where the mask is Black and they mix where the mask is Grey.  What I'm hoping to achieve is something closer to the Diffuse Overlay effect (see the red stitching) which overrides the base color where the mask is white.

The requirement therefore becomes:

Base Color 1 is the the Primary base color

Base Color 2 is the Secondary color and overrides 1 on a white map (blends on grey)

Base Color 3 is the Tertiary color and overrides 1 and 2 on a white map (blends on grey)

Diffuse Overaly overrides all the base colors

Any thoughts, pointers or reference material would be greatfully recieved.

Thanks

Color Mix 1.JPG
618 x 805 - 43K
Color Mix 2.JPG
293 x 567 - 42K

Comments

Sign In or Register to comment.