예제 #1
0
파일: Explosion.cs 프로젝트: kayorga/3DSP
 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);
 }
예제 #2
0
 public void draw(Camera camera)
 {
     if (!active)
     {
         return;
     }
     particleEffect.Draw(camera);
     //bulletOb.Draw(camera);
 }