   Problem with fire particle effect
  Hi,this is my first particle effect, and i have some problems to achieve the fire effect.and from shader fx: technique psCampfireTech{    pass P0    {   vertexShader = compile vs_2_0 CampfireVS();   pixelShader  = compile ps_2_0 CampfirePS(); PointSpriteEnable = true;   AlphaBlendEnable = true;    SrcBlend= One;    DestBlend    = One;   //SrcBlend= SrcAlpha; //good for smoke   // DestBlend    = InvSrcAlpha;//good for smoke  ZWriteEnable = true;    }}I want the fire to obscure the behind objects when is intense, but if i put zwrite enabled the effect is horrible. Do you have some tips for this? Need i to play with blend parameters?Thx for any suggest.   
  You always have to render transparent objects after opaque objects (depth test enabled, depth write false).   ;  Indeed i just swapped the rendering order. The effect is now better :) Thx szecs :)