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