Example #1
0
        protected override void LoadContent()
        {
            spriteBatch = new SpriteBatch(GraphicsDevice);

            smaa = new SMAA(GraphicsDevice, 1280, 720, SMAA.Preset.ULTRA,
                            Content, null, null, "shaders/SMAA_", "textures/");

            texture = Content.Load <Texture2D>("textures/Unigine02");

            rt = new RenderTarget2D(GraphicsDevice, 1280, 720);
        }
Example #2
0
        protected override void LoadContent()
        {
            spriteBatch = new SpriteBatch(GraphicsDevice);

            smaa = new SMAA(GraphicsDevice, 1280, 720, SMAA.Preset.ULTRA,
                Content, null, null, "shaders/SMAA_", "textures/");

            texture = Content.Load<Texture2D>("textures/Unigine02");

            rt = new RenderTarget2D(GraphicsDevice, 1280, 720);
        }