1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00
GLideN64/GLSLCombiner.h
Sergey Lipskiy aec5094967 Add support for 8bit frame buffers.
Fixed dynamic shadow in Banjo-Tooie
2015-05-13 10:09:41 +06:00

24 lines
488 B
C++

#ifndef GLSL_COMBINER_H
#define GLSL_COMBINER_H
class GLSLCombiner : public OGLCombiner {
public:
GLSLCombiner(Combiner *_color, Combiner *_alpha);
virtual void Set();
virtual void UpdateColors();
virtual void UpdateFBInfo();
private:
GLhandleARB m_vertexShaderObject;
GLhandleARB m_fragmentShaderObject;
GLhandleARB m_programObject;
int m_nInputs;
};
void InitGLSLCombiner();
void DestroyGLSLCombiner();
void GLSL_CalcLOD();
void GLSL_PostCalcLOD();
#endif //GLSL_COMBINER_H