Esempio n. 1
0
        public void UpdateResolution(int width, int height)
        {
            _ssao.UpdateResolution(width, height);
            _blur.UpdateResolution(width, height);

            ((FBO)_outputSurface)?.Dispose();
            _outputSurface = new FBO(Texture2dGL.Create(width, height));
        }
Esempio n. 2
0
 public void UpdateResolution(int width, int height)
 {
     _extract.UpdateResolution(width, height);
     _blur.UpdateResolution(width, height);
     _add.UpdateResolution(width, height);
 }