public Bloom(IContentLoader contentLoader) { _extract = new OnePassPostProcessShader(contentLoader.LoadPixelShader("Extract.glsl")); _blur = new AvgBlur(contentLoader); _add = new Addition(contentLoader); }
public SSAOWithBlur(IContentLoader contentLoader, float blurKernelSize) { _ssao = new OnePassPostProcessShader(contentLoader.LoadPixelShader("SSAO.glsl")); _blur = new AvgBlur(contentLoader, blurKernelSize); _shader = contentLoader.LoadPixelShader("saturationMap.glsl"); }