在backgrund对应片元着色器中
background.fragment
if(v_pos_fog.y/v_pos_fog.w>u_calheight-0.1){
float y_screen = v_pos_fog.y/v_pos_fog.w;
float fogFactor = 1. - smoothstep(u_calheight-0.1, u_calheight , y_screen);
gl_FragColor = u_color * u_opacity * fogFactor ;
}