!!ARBfp1.0
MAX result.color, {0.5}.x, fragment.color;
END