float3 main(in float4 col : COL0, in float3 pos : WPOS, uniform samplerRect depthTex) : COLOR { float zold = texRect(depthTex, pos.xy); if(pos.z < (zold + 0.1)) discard; else; return col; }