BloomEffect fixed _source, fixed basic.glsl
This commit is contained in:
parent
5bb690e45f
commit
03d99ea28e
4 changed files with 7 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue