X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbloom.h;h=f930f1cd20449d883e194e9654cbc8a86350c087;hb=89451c28c2c3fcd7c1cedbe136b5f19ef9347d7c;hp=c02604afc0a281a918076190433f6e15ae2e4f1d;hpb=119d9819ac9e9a8d274d2410beffe54e470485a3;p=libs%2Fgl.git diff --git a/source/bloom.h b/source/bloom.h index c02604af..f930f1cd 100644 --- a/source/bloom.h +++ b/source/bloom.h @@ -12,6 +12,7 @@ Distributed under the LGPL #include "mesh.h" #include "postprocessor.h" #include "texture2d.h" +#include "texturing.h" #include "program.h" #include "programdata.h" @@ -35,6 +36,7 @@ private: ProgramData blur_shdata[2]; Program combine_shader; ProgramData combine_shdata; + Texturing combine_texturing; Mesh quad; public: @@ -48,7 +50,7 @@ public: values mean more blurriness. */ void set_strength(float); - virtual void render(const Texture2D &); + virtual void render(const Texture2D &, const Texture2D &); }; } // namespace GL