Improved Bloom Effect
This commit is contained in:
parent
03d99ea28e
commit
777c2f6256
3 changed files with 7 additions and 4 deletions
|
|
@ -55,7 +55,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);
|
||||
|
|
|
|||
|
|
@ -16,7 +16,10 @@ namespace SM_TEST
|
|||
|
||||
public override void Initialization()
|
||||
{
|
||||
_bloom = new BloomEffect(hdr: true);
|
||||
_bloom = new BloomEffect(hdr: true)
|
||||
{
|
||||
Threshold = .8f,
|
||||
};
|
||||
|
||||
MainFramebuffer = CreateWindowFramebuffer();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue