#MERGE 21eaa49 & 777c2f62
This commit is contained in:
commit
cf22c67e6f
11 changed files with 165 additions and 32 deletions
|
|
@ -53,7 +53,7 @@ namespace SM_TEST
|
|||
DrawObject2D box = new DrawObject2D();
|
||||
scene.Objects.Add(box);
|
||||
|
||||
DrawText text = new DrawText(font, "Text");
|
||||
DrawText text = new DrawText(font, "Test Text");
|
||||
text.Transform.Position.Set(50, 0);
|
||||
text.Transform.Size.Set(2);
|
||||
scene.Objects.Add(text);
|
||||
|
|
|
|||
|
|
@ -17,9 +17,12 @@ namespace SM_TEST
|
|||
|
||||
_postBuffer = CreateWindowFramebuffer();
|
||||
Framebuffers.Add(_postBuffer);
|
||||
_bloom = new BloomEffect(hdr: true)
|
||||
{
|
||||
Threshold = .8f,
|
||||
};
|
||||
|
||||
|
||||
_bloom = new BloomEffect(_postBuffer, hdr: true);
|
||||
_bloom.Initilize(this);
|
||||
base.Initialization();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue