Scene ambient colour set to red
Three boxes, one with no material, two with.
Box 1 / Material 1 - Ambient colour = black, diffuse colour = white, has pinky cast - OK
Box 2 / Material 2 - Ambient colour = white, diffuse colour = black, looks black - I’d expect it to be pinkish.
Is this intended behaviour, or should ambient light red + ambient material white = red?
Hi. So we don’t really use constant ambient color for specular, which is probably wrong, the more I think about it. Right now ambient lighting is a simply added to other diffuse lighting and multiplied by albedo. Generally it’s preferred that you use cubemaps as a source of ambient lighting, and then you get both diffuse and specular lighting right, and the constant ambient color was just left there as a legacy solution which probably doesn’t make much sense. You can however switch from Physical to Phong material type, and then you’ll probably get what expected with the constant factor. In code it would be: