RobynsVeil opened this issue on Jan 24, 2009 · 490 posts
bagginsbill posted Sun, 01 March 2009 at 7:04 PM
Well remember there's multiple places to do the tinting.
(Tinting is just multiplying with a pastel color.)
You can do it like this:
Spots(tint * originalColor, tint * originalColor * anotherTint)
or
tint * originalColor * Spots(WHITE, anotherTint)
or this is how I usually write it.
color = originalColor
color *= tint
color *= Spots(WHITE, anotherTint)
color *= ANodeThatTintsForVeins(...)
color *= ANodeThatTintsForMoles(...)
color *= ANodeThatTintsForPimples(...)
See? Each tinting layers onto the previous one. And if I want to remove one of them by commenting it out, then I just have one line to comment out. The chain of evolving color is kept in the color variable.
Anyplace you don't want it to tint, such as the base of the spots effect, you just use WHITE, or the number 1, because that is white. When you mutliply with WHITE, it does nothing. In other words, WHITE cannot tint something.
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)