X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=demo_prior;a=blobdiff_plain;f=src%2Fpost.h;h=f228dedd1a6c66c72445b3653091c6f95ed1b2d2;hp=c94263019e4eed269b480dcba73bbba7fd88dfeb;hb=HEAD;hpb=ca5ddcfae04b0c10505325629d8a59e626811433 diff --git a/src/post.h b/src/post.h index c942630..f228ded 100644 --- a/src/post.h +++ b/src/post.h @@ -3,8 +3,9 @@ #include "texture.h" -extern struct texture fbtex[2]; -extern int fbtex_cur; +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); @@ -13,4 +14,7 @@ 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_ */