|
|
brightest_ambient_object = average of the RGB of the brightest color times
its diffuse. Quoting from Mark Wagner's message to me, this means:
"An object with a color of < 1, 0.5, 0.5 > and a diffuse of 0.8 would have
an average color of 2/3 and a total brightness of 8/15 or 0.53. An object
with a color of < 2, 2, 2 > and a diffuse of 0.25 would have an average
color of 2 and a total brightness of 0.5. If your scene consisted of only
those two objects, you would use 0.53 for the brightest_ambient_object."
Post a reply to this message
|
|