Your eyes are decieving you. If you move the spheres from the 3 pictures together you will very clearly see that the areas are the same color when single light and brighter when double lit. If you want to make it look nicer I suggest you add a whole arc of light sources between the current ones.
views:
108answers:
4
+2
A:
kiasecto
2010-04-16 23:33:58
Well, yes, you're absolutely right. I used a colour picker tool and did a comparison of the pixels I was suspicious of. It turns out that they only look darker, they are actually the same colour.
Curyous
2010-04-17 00:20:15
A:
You've saturated one colour channel in the image; turn down the brightness a bit and see what happens.
Andrew McGregor
2010-04-16 23:39:07
+6
A:
It's a perceptual effect called Mach banding.
You are also very likely viewing the images in the wrong color space. Your ray tracer is doing the lighting math in a "linear" space, but then you are almost certainly viewing those images on a display with a nonlinear response, and therefore not even seeing the correct results. This could easily be making the Mach bands much more prominent than if you were displaying them properly. Try learning about gamma correction.
Larry Gritz
2010-04-17 05:44:19
A:
Are you sure your lighting directions are both normalized?
May be worth it to throw an assert in there.
FeepingCreature
2010-04-17 10:12:16