I have my alpha blending states setup like this:
GraphicsDevice.RenderState.AlphaBlendEnable = true;
GraphicsDevice.RenderState.SourceBlend = Blend.SourceAlpha;
GraphicsDevice.RenderState.DestinationBlend = Blend.InverseSourceAlpha;
GraphicsDevice.RenderState.AlphaTestEnable = true;
GraphicsDevice.RenderState.AlphaFunction = CompareFunction.Always;
I than draw the ground and than a bunch of spheres above the ground in wireframe mode with an alpha of 0 (as a test to show the problem). If the lines are not above the ground (there not being blended with the ground) than they are in fact invisible. However if they are being blended with the ground with an alpha of 0 than they show up as white or blueish lines. Why is this happening?
