DCArt opened this issue on Jan 07, 2010 ยท 121 posts
bagginsbill posted Fri, 08 January 2010 at 1:01 AM
Well if you look in my shaders, you'll almost always find a Bias or 2 in there.
Whenever I have any sort of gradient, and I don't like the gradient because it doesn't rise fast enough or it rises too fast, I can fix it with Bias.
Bias can take all the gray values and shift them up or down, while keeping black and white unchanged.
For example, suppose I have a grayscale lip mask for lipstick. Suppose the edge of this mask is soft, and I want it to be a little harder. I use Bias(mask, .8) and where the mask is .5 it becomes .8. Darker values are increased more, lighter values are increased less so they don't go over 1.
On the other hand, if I want a gradient to rise less quickly, I'll say something like Bias(x, .2). So then where x = .5 it becomes .2. Dark values get darker but not by a lot. Brighter values get much darker. But white is still white.
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)