gzdoom-gles/src/gl/shaders/gl_bloomshader.h

29 lines
370 B
C
Raw Normal View History

2016-07-27 19:50:30 +00:00
#ifndef __GL_BLOOMSHADER_H
#define __GL_BLOOMSHADER_H
#include "gl_shaderprogram.h"
class FBloomExtractShader
{
public:
void Bind();
FBufferedUniform1i SceneTexture;
FBufferedUniform1f Exposure;
private:
FShaderProgram mShader;
};
class FBloomCombineShader
{
public:
void Bind();
FBufferedUniform1i BloomTexture;
private:
FShaderProgram mShader;
};
#endif