8 #ifndef __WOW_DISPLAY_SHADER_HH__
9 #define __WOW_DISPLAY_SHADER_HH__
11 #include <OpenGLFramework/Base/glfTexture2D.hh>
12 #include <OpenGLFramework/Base/glfBatch.hh>
13 #include <OpenGLFramework/Base/glfFramebufferObject.hh>
14 #include <OpenGLFramework/SpecializedBatches/PerPixelProcessingBase.hh>
16 #include <bias_config.h>
28 void Init(
int mode = 0);
66 unsigned int width_, height_;
68 int wowFactor_, wowOffset_;
71 int newFullHeader_[512];
72 std::vector<int> header_;
77 std::string fragmentShaderCode_;
78 std::string fragmentShaderCode1_;
80 void CreateHeader_(
int* fullheader,
int wowFactor,
int wowOffset);
81 void CreateHeader2_(
int* header,
int wowFactor,
int wowOffset);
void SetHeader(std::vector< int > &header)
void SetScale(float scale)
void UseOcclLayer(bool occlLayer)
void FlipColorImage(bool flip)
this class can be used as a simple base class for specialized batches