X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Feffects%2Fbloom.cpp;h=8a8dea3ed687752ea408c4efdbb4b5ce0f06cc2a;hb=75e09e235ed67424cafcff0cd8fc44a4be2ca739;hp=aac226d90c133a9a174b25ca0fb1d0a715bfc9b4;hpb=b877c737bc5f759e6da25f886ad965e4a274cf2a;p=libs%2Fgl.git diff --git a/source/effects/bloom.cpp b/source/effects/bloom.cpp index aac226d9..8a8dea3e 100644 --- a/source/effects/bloom.cpp +++ b/source/effects/bloom.cpp @@ -1,9 +1,10 @@ #include #include -#include "blend.h" #include "bloom.h" +#include "mesh.h" #include "renderer.h" #include "resources.h" +#include "texture2d.h" using namespace std; @@ -92,11 +93,6 @@ void Bloom::set_debug_name(const string &name) } -Bloom::Template::Template(): - radius(2.0f), - strength(0.2f) -{ } - Bloom *Bloom::Template::create(unsigned width, unsigned height) const { RefPtr bloom = new Bloom(width/size_divisor, height/size_divisor);