public void Draw(Camera camera) { graphicsDevice.DepthStencilState = DepthStencilState.DepthRead; graphicsDevice.BlendState = BlendState.Additive; billboardEngine.Draw(graphicsDevice, camera); graphicsDevice.BlendState = BlendState.Opaque; graphicsDevice.DepthStencilState = DepthStencilState.Default; particleEffect.Draw(camera); }
public void draw(Camera camera) { if (!active) { return; } particleEffect.Draw(camera); //bulletOb.Draw(camera); }