]> git.tdb.fi Git - libs/gl.git/blobdiff - source/bloom.h
Drop Id tags and copyright notices from files
[libs/gl.git] / source / bloom.h
index b763809aca7422feba10f52be9f402f4a97f5962..00130fa18d1277576fa400a005d44679d7f44a18 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2009  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_GL_BLOOM_H_
 #define MSP_GL_BLOOM_H_
 
@@ -12,6 +5,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 +26,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: