clamping values to avoid pink specularity