RichardCoffey opened this issue on Oct 10, 2010 · 35 posts
bagginsbill posted Thu, 14 October 2010 at 1:59 PM
We're going to want to combine diffuse, specular, and reflection effects. For testing purposes, I'm using procedural colors and bumps - these will be replaced with maps from your figure later on.
bump = .02 * Turbulence(.1, .1, .1) * (1-m)
shine = .4 + 1.6 * m
spec = Blinn(WHITE, (.96 ** (50 * shine)) * .7, .4, shine ** 2)
color = Clouds(Blend(SKIN, RED, .2), SKIN, 1, 6, 0)
dv = .8 + .03 * m + .1 * h
dv = dv * Clamp(Sub(1, spec))
diff = Diffuse(color, dv)
fresnel = TrueFresnel(1.5)
rv = fresnel * m
reflect = Reflect()
dr = Blend(diff, reflect, rv)
output = dr + spec
s = View(output)
s.Displacement = disp
s.Bump = bump
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)