Morph-SynRJ

view trans_glow.h @ 0:22de913c2d84

morph-synrj intro
author "Cedric Pinson <cedric.pinson@alcove.fr> <mornifle@plopbyte.net>"
date Tue Nov 27 15:23:52 2007 +0100 (2007-11-27)
parents
children
line source
1 #ifndef TRANS_GLOW_H
2 #define TRANS_GLOW_H
4 #include "mth_vector3.h"
5 #include "gl_header.h"
7 #define USE_MOZAIK
9 class trans_Glow_t
10 {
11 public:
12 GLuint glowPass[4];
14 GLuint CreateOnePass(int x, int y);
15 void RenderSceneToQuad(GLuint dst, float alpha);
16 void StartGlow(void);
17 void EndGlow(void);
18 void StartRendering(GLuint dst, int x, int y);
19 void AddPass(GLuint src, GLuint dst, int render_size_x, int render_size_y);
20 void DoAllDefaultPasses(void);
21 void ApplyGlowToScene(GLuint last_glow_pass, float alpha);
23 };
25 #endif