Example #1
0
 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);
 }
Example #2
0
 public void draw(Camera camera)
 {
     if (!active)
     {
         return;
     }
     particleEffect.Draw(camera);
     //bulletOb.Draw(camera);
 }