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
Comments
It's amazing how helpful a single link can be, thank you...
I'm reading the thread and chcking the links, any thoughts on how I might approach the problem?
I actually may have solved it thank you margrave. The primary color is overriden by the secondary color which in turn is overridden by the Teritary color. It wass the sequence of Blend Bricks and which order to connect the colors to get the desired result.
Can you not just use the diffuse overlay in the Iray uber shader, it uses a mask.
Hi Scorpio, the idea was to add additional channels ontop of the diffuse overlay