Nez.Portable/Graphics/PostProcessing/PostProcessors/PolyLightPostProcessor.cs
/// <summary>
/// updates the GaussianBlurEffect with the new vertical and horizontal deltas after a back buffer size or blurRenderTargetScale change
/// </summary>
updates the GaussianBlurEffect with the new vertical and horizontal deltas after a back buffer size or blurRenderTargetScale change
updates the GaussianBlurEffect with the new vertical and horizontal deltas after a back buffer size or blurRenderTargetScale change
void updateBlurEffectDeltas()
        {
            var sceneRenderTargetSize = scene.sceneRenderTargetSize;
            _blurEffect.horizontalBlurDelta = 1f / (sceneRenderTargetSize.X * _blurRenderTargetScale);
            _blurEffect.verticalBlurDelta = 1f / (sceneRenderTargetSize.Y * _blurRenderTargetScale);
        }
void updateBlurEffectDeltas ( ) { var sceneRenderTargetSize = scene . sceneRenderTargetSize ; _blurEffect . horizontalBlurDelta = 1f / ( sceneRenderTargetSize . X * _blurRenderTargetScale ) ; _blurEffect . verticalBlurDelta = 1f / ( sceneRenderTargetSize . Y * _blurRenderTargetScale ) ; }
updates the GaussianBlurEffect with the new vertical and horizontal deltas after a back buffer size or blurRenderTargetScale change
updates the GaussianBlurEffect with the new vertical and horizontal deltas after a back buffer size or blurRenderTargetScale change