bagginsbill opened this issue on Apr 23, 2008 · 2832 posts
bagginsbill posted Wed, 13 April 2011 at 6:35 PM
Quote - Ok, I have been working with the lastest Version of FemaSu. She has very few material zones. One for the head, body and mouth. I have been trying to figure out how to seperate the lips and nails out so that I can work with them. Without haveing to create a new UV map. Thinking along the lines of using masks. Is it possible to connect a single rule to multiple copy templates.
What do you mean by "work with them?" Do you want a completely different material or just a little more shine, a little different color?
In either case, first you need to draw a mask where you want an effect to be modulated. A lip mask for the lips - a nail mask for the nails. A mask is basically just an image with white where you want something to happen, black where you don't, and a smooth anti-aliased boundary (some grays will appear) between the do versus don't sections.
Once you have the mask, you can use it to modulate things. For example, to modulate colors coming from two different nodes, and let the mask decide which shows up in the render, you set the colors (or connect nodes to white colors) of a Blender. Then you connect the mask to the Blender's Blending value, which should be set to 1.
To modulate a number, such as the VSS PM:Shine value, you can plug the mask in Value_2 and set it to a non-zero value. For example, if the general shine should be .25, but on the lips you want a shine of .6, then set PM:Shine Value_1 = .25. Set Value_2 = .35 and connect that to the lip mask. Where the mask is white, the numerical value of the mask is 1 and the PM:Shine will be .25 + .35 = .6. Where the mask is black, the numerical value of the mask is 0 and the PM:Shine will be .25.
Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)