I have two different particles, the first one is fire (near the camera) and the other one is black smoke (far away from the camera).
When I look at the fire which is near the camera, the fire begin to clip and I can see the smoke instead of the fire, even the fire is closer (I should see the fire since its depth is much closer).
Here is what I have in my Shader technique:
ALPHABLENDENABLE = TRUE;
SRCBLEND = SRCALPHA;
DESTBLEND = INVSRCALPHA;
ZWRITEENABLE = FALSE;
ZENABLE = TRUE;
VertexShader = compile vs_3_0 VSProgram();
PixelShader = compile ps_3_0 PSProgram();
How to fix that?