Exemple #1
0
        private static void setVignetteResolution()
        {
            var resolution = AGSGame.Game.Settings.WindowSize;

            _vignetteShader.Compile();
            _vignetteShader.Bind();
            _vignetteShader.SetVariable("resolution", resolution.Width, resolution.Height);
        }