smoothnessG = pow2(color.r) * 0.7;
smoothnessG = min1(smoothnessG);
smoothnessD = smoothnessG;