19 #ifndef OST_SCENE_FX_HH
20 #define OST_SCENE_FX_HH
31 namespace ost {
namespace gfx {
44 friend class ::ost::gfx::Scene;
51 void Resize(
unsigned int w,
unsigned int h);
60 void DrawTex(
unsigned int w,
unsigned int h, GLuint texid);
81 void prep_shadow_map();
82 void prep_depth_darkening();
83 void prep_amb_occlusion();
84 void draw_screen_quad(
uint w,
uint h);
90 GLuint shadow_tex_id_;
95 GLuint kernel_tex_id_;
97 GLuint kernel2_tex_id_;
100 GLuint scene_tex2_id_;
101 GLuint norm_tex2_id_;
void Resize(unsigned int w, unsigned int h)
Three dimensional vector class, using Real precision.
bool WillPostprocess() const
static SceneFX & Instance()
void DrawTex(unsigned int w, unsigned int h, GLuint texid)