softgpu: apply gstate.isMaterialAmbient/Diffuse/SpecularColor()