I've been working on some secret Android stuff for an unannounced commercial product I'm involved with, I've pulled off some fantastic stuff with 3D graphics in Android using my graphics engine (Which is being used in said commercial product).
During my lunch break I decided to correct my lighting model on my test scene (Which will be shown at Develop in Brighton next week);
Yesterday the lighting model would incorrectly additive blend the lights with the diffuse, so the Sydney character (Lady in black in the shot) would brighten towards white, despite being dressed in black (Which reflects no colour).
I had to do some trickery for this, I strengthen the lights by a factor of 4 before adding it with the shadow result, I then multiply that with the diffuse, which causes an over-bright effect now (See the sword).
With the corrected light, you can see how the separate red, green and blue lights I have spinning the middle of the screen there individually effect the robot's white metal, it reflects a bit of green and a lot of red closer to the camera, producing orange, but where the blue light strikes the surface it mixes into the purple colour on the metal that is further from the camera.
EDIT:
Compare with the old lighting blend http://www.felixjones.co.uk/neo%20websi ... lights.png particularly look at Sydney's face, it is incorrectly saturated blue in the old model
During my lunch break I decided to correct my lighting model on my test scene (Which will be shown at Develop in Brighton next week);
Yesterday the lighting model would incorrectly additive blend the lights with the diffuse, so the Sydney character (Lady in black in the shot) would brighten towards white, despite being dressed in black (Which reflects no colour).
I had to do some trickery for this, I strengthen the lights by a factor of 4 before adding it with the shadow result, I then multiply that with the diffuse, which causes an over-bright effect now (See the sword).
With the corrected light, you can see how the separate red, green and blue lights I have spinning the middle of the screen there individually effect the robot's white metal, it reflects a bit of green and a lot of red closer to the camera, producing orange, but where the blue light strikes the surface it mixes into the purple colour on the metal that is further from the camera.
EDIT:
Compare with the old lighting blend http://www.felixjones.co.uk/neo%20websi ... lights.png particularly look at Sydney's face, it is incorrectly saturated blue in the old model