Using a shader that works like Phong, what would be the difference between painted Metal and plastic?

I seem to remember reading in books years ago, that I no longer have access to, the following:

  • Specular color for painted metal is same color as the paint.
  • Specular color for plastic is always white.
  • Ambient for metal should be darker than for plastic.

This also seems to correlate with what I see when I observe objects (in real world)

But I tried to verify this also by checking the Internet, and found conflicting versions, some said the complete opposite.

So what is true?


2 Answers 2


Diffuse colours on materials typically come from within the material, while the specular colour is from the very surface. Coloured plastic materials are made by embedding particles of dye inside a colourless medium, so the diffuse colour is the colour of the dye, while the specular colour is white from the colourless surface. With metals, all of the reflection is at the surface, so the diffuse and specular colours are the same.

There are many different kinds of paint, but most commonly they're made like plastics: putting dye particles inside a white or colourless medium. Emulsion, acrylic, and enamel paints are all made this way. For this reason, painted or varnished metal surfaces have white specular as if they were plastic. There are some kinds of paint (metallic paints being the most obvious example) that aren't made this way, so it's not always true.

Ambient doesn't correspond to a physical property of the material: it's a cheap substitute for global illumination. It represents all of the indirect light that falls on the shading point and is reflected in the viewing direction. There's no physically correct way to set it: you should just do what looks best in your scene. That said, I'd offer a rule of thumb that shinier objects probably want less ambient, because less of the indirect light is going to be reflected diffusely to where you can see it. However, you might consider not using ambient at all, and pointing dim fill lights at places that will come out too dark without indirect light.



    Material    Diff. slider    Diff. color             Spec. slider    Spec. color         Shininess
    Metal       low             color of metal          high            color of metal      high
    Plastic     medium          color of plastic        medium          white               medium
    Lunar dust  high            white                   0               --                  0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.