[HL2]Fire drawing on-top of fences
(non-beta HL2)
I have a little alpha drawing order problem with fire, so basically fire draws ontop of 2D fences.

System Info: -HW- AMD Phenom II X4 955(3.2GHz) 2x 4GB DDR3-1333(7-7-7-20) G.Skill RAM MSI 790FX-GD70 ASUS EAH5870(AMD HD5870, 1GB VRAM) ASUS Xonar DX
-SW- Win7 x64 Catalyst 13.2
Settings: everything on max. 4xMSAA 16xAF no vsync
Known as Z-fighting, its been there since the first version of Source.
It happens when 2 materials with an alpha map are rendered behind eachother, but the one further away renders in front of the one closest to the player.
I don't think I had that back then with the old fire. and no, it's not z-fighting. z-fighting describes a situation where 2( or more) triangles are very close to each other and due to rounding errors in the depth calculation they start to flicker, because both( all of them) are considered visible by the depth calculation. This is a alpha z-order issue, which can be prevented, there is a demo about that from AMD for instance.
Hmm. I know TF2 has an issue where sprites always render in front of translucent textures (it's usually not obvious, but there are a couple spots on a couple maps where you can see that spotlight effects render in front of chicken wire). I bet this is the same thing happening. I wonder if it happens to all particle effects, or just ones created with the pre-Orange Box particle system.
it's fixed on Filip Victor's Update 2.0