BloomEffect fixed _source, fixed basic.glsl

This commit is contained in:
Michel Fedde 2021-03-15 18:18:51 +01:00
parent 5bb690e45f
commit 03d99ea28e
4 changed files with 7 additions and 5 deletions

View file

@ -78,8 +78,12 @@ namespace SM.Base.PostEffects
}
}
protected override void InitProcess()
{
_source = Pipeline.MainFramebuffer;
_source.ColorAttachments["color"].PixelInformation = PixelInformation.RGBA_HDR;
_bloomBuffer1 = new Framebuffer(Pipeline.ConnectedWindow, _textureScale);