public override void Draw(GameTime gameTime) { Camera.GraphicsDevice.SetRenderTarget(m_godRayTexture); Camera.GraphicsDevice.Clear(Color.White); Camera.Begin(SpriteSortMode.Immediate, BlendState.NonPremultiplied, SamplerState.LinearClamp, null, null); m_smallCloud1.DrawOutline(Camera); m_smallCloud3.DrawOutline(Camera); m_smallCloud4.DrawOutline(Camera); Camera.GraphicsDevice.SamplerStates[0] = SamplerState.PointClamp; m_castle.DrawOutline(Camera); Camera.GraphicsDevice.SamplerStates[0] = SamplerState.LinearClamp; m_smallCloud2.DrawOutline(Camera); m_smallCloud5.DrawOutline(Camera); m_logo.DrawOutline(Camera); m_dlcIcon.DrawOutline(Camera); m_crown.DrawOutline(Camera); Camera.End(); m_ppm.Draw(gameTime, m_godRayTexture); Camera.GraphicsDevice.SetRenderTarget(m_godRayTexture); Camera.GraphicsDevice.Clear(Color.Black); Camera.Begin(SpriteSortMode.Immediate, BlendState.AlphaBlend, SamplerState.LinearClamp, null, null); m_bg.Draw(Camera); m_smallCloud1.Draw(Camera); m_smallCloud3.Draw(Camera); m_smallCloud4.Draw(Camera); Camera.GraphicsDevice.SamplerStates[0] = SamplerState.PointClamp; m_castle.Draw(Camera); Camera.GraphicsDevice.SamplerStates[0] = SamplerState.LinearClamp; m_smallCloud2.Draw(Camera); m_smallCloud5.Draw(Camera); m_largeCloud1.Draw(Camera); m_largeCloud2.Draw(Camera); m_largeCloud3.Draw(Camera); m_largeCloud4.Draw(Camera); Camera.GraphicsDevice.SamplerStates[0] = SamplerState.PointClamp; Camera.Draw(Game.GenericTexture, new Rectangle(-10, -10, 1400, 800), Color.Black * m_hardCoreModeOpacity); Camera.GraphicsDevice.SamplerStates[0] = SamplerState.LinearClamp; m_logo.Draw(Camera); m_crown.Draw(Camera); m_copyrightText.Draw(Camera); m_versionNumber.Draw(Camera); m_pressStartText2.Opacity = m_pressStartText.Opacity; m_pressStartText.Draw(Camera); m_pressStartText2.Draw(Camera); if (!m_startNewLegacy) { m_profileCardKey.Draw(Camera); } m_creditsKey.Draw(Camera); m_optionsKey.Draw(Camera); m_profileSelectKey.Draw(Camera); Camera.GraphicsDevice.SamplerStates[0] = SamplerState.PointWrap; if (!m_startNewLegacy) { m_profileCard.Draw(Camera); } m_dlcIcon.Draw(Camera); m_optionsIcon.Draw(Camera); m_creditsIcon.Draw(Camera); Camera.End(); Camera.GraphicsDevice.SetRenderTarget((ScreenManager as RCScreenManager).RenderTarget); Camera.GraphicsDevice.Clear(Color.Black); Camera.Begin(SpriteSortMode.Immediate, BlendState.Additive); Camera.Draw(m_ppm.Scene, new Rectangle(0, 0, Camera.GraphicsDevice.Viewport.Width, Camera.GraphicsDevice.Viewport.Height), Color.White); Camera.Draw(m_godRayTexture, new Rectangle(0, 0, Camera.GraphicsDevice.Viewport.Width, Camera.GraphicsDevice.Viewport.Height), Color.White); Camera.End(); base.Draw(gameTime); }