예제 #1
0
파일: Game1.cs 프로젝트: Felle321/TitanBenk
        private void DrawDepthMask()
        {
            GraphicsDevice.SetRenderTarget(RTDepthMask);
            GraphicsDevice.Clear(new Color(0, 1f, 0, 1f));

            spriteBatch.Begin(SpriteSortMode.Immediate, null, null, null, null, FXDepthMask, camera.get_transformation(GraphicsDevice));
            drawBatch.DrawDepthMask(spriteBatch);
            spriteBatch.End();
        }