mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-10 02:10:51 +00:00
29 lines
No EOL
370 B
C++
29 lines
No EOL
370 B
C++
#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 |