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