X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbloom.h;h=2900175ff1f8ac6e34b52dfc994572aeaacbbe74;hb=5172d32d67595ea0b70184fadcfcb8e023cccbc8;hp=b763809aca7422feba10f52be9f402f4a97f5962;hpb=c216893af147042e40c389e2530e71277c343044;p=libs%2Fgl.git diff --git a/source/bloom.h b/source/bloom.h index b763809a..2900175f 100644 --- a/source/bloom.h +++ b/source/bloom.h @@ -1,7 +1,7 @@ /* $Id$ This file is part of libmspgl -Copyright © 2009 Mikko Rasa, Mikkosoft Productions +Copyright © 2009-2011 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ @@ -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" @@ -32,9 +33,12 @@ private: Framebuffer fbo; Texture2D tex[2]; Program blur_shader; - ProgramData blur_shdata[2]; + ProgramData blur_shdata_common; + ProgramData blur_shdata_x; + ProgramData blur_shdata_y; Program combine_shader; ProgramData combine_shdata; + Texturing combine_texturing; Mesh quad; public: