From 17a153e21767fcc7a67186dd7ef8cdd0a7e26ed2 Mon Sep 17 00:00:00 2001 From: taw27 Date: Fri, 16 May 2008 00:13:29 +0000 Subject: Postprocessing stuff git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@16 84d2e878-0bd5-11dd-ad15-13eda11d74c5 --- src/types.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/types.h') diff --git a/src/types.h b/src/types.h index 5c1ba53..d072331 100644 --- a/src/types.h +++ b/src/types.h @@ -101,6 +101,8 @@ typedef struct { GLhandleARB lighting_vert; GLhandleARB lighting_frag; GLhandleARB lighting_program; + GLhandleARB postprocess_frag; + GLhandleARB postprocess_program; /* Textures */ Texture textures[MAX_TEXTURES]; @@ -110,6 +112,13 @@ typedef struct { Uint32 t_fps; int fps; + GLuint fbo; + GLuint fbotex; + GLuint fbodepth; + GLfloat aspect; + int width; + int height; + } RenderContext; typedef struct { -- cgit v1.2.3