X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=demo_prior;a=blobdiff_plain;f=src%2Fpost.h;h=f228dedd1a6c66c72445b3653091c6f95ed1b2d2;hp=d61dc5d083ff8a14db4190ad08b0d469e9c83761;hb=HEAD;hpb=3a9f6854df479d81442273c9d0b133c49c5c8f66 diff --git a/src/post.h b/src/post.h index d61dc5d..f228ded 100644 --- a/src/post.h +++ b/src/post.h @@ -1,9 +1,20 @@ #ifndef POST_H_ #define POST_H_ -struct texture; +#include "texture.h" + +extern struct texture post_fbtex[2]; +extern int post_fbtex_cur; +extern unsigned int post_fbo[2]; + +int post_init(void); +void post_cleanup(void); +void post_reshape(int x, int y); void overlay(unsigned int tex, float aspect, float alpha); void overlay_tex(struct texture *tex, float alpha); +/* blends a vignette overlay onto the framebuffer */ +void vignette(float r, float g, float b, float offs, float sharp); + #endif /* POST_H_ */