   Using DEPTHBIAS to fix z-fighting
  I have a problem. I'm using depthbias to render silhoette (special mesh + vertex shader) of the target mesh and the target mesh without z-fighting.  Fast silhouettes .i have tested depthbias from this  article  on some cards. It worked nice. but now i have tested it on my geforce 8800 gts and i lost my silhouette. If i set a nonzero depthbias value then i lost silhouette mesh.Can somebody help?P.S. I've already checked render caps.P.P.S. Another problem on geforce quadro - z-fighting fixes only using depthbias, another methods doesnt work.[Edited by - mr_hell on May 7, 2009 7:40:40 AM]
  UPD 1. This bug appears only with my special mesh.UPD 2. problem with lost mesh was in degenerate triangles, now i have changed mesh to a simple vertex buffer and become my silhouette. But i still have z-fighting. depthbias doesnt work.UPD 3. I've fixed z-fighting using changed znear, zfar values + vertexbuffer. But changing depthbias or viewport will not help. where is the problem?[Edited by - mr_hell on May 7, 2009 4:50:06 AM]