http://blog.csdn.net/u012941657/article/details/47665027
抗锯齿算法: smoothstep(edge0, edge1, x): threshod smooth transition时使用。 edge0<x<edge1时平滑差值,x<=edge0时为0.0, x>=edge1时为1.0