OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
tr_postprocess.h
1/*
2===========================================================================
3Copyright (C) 2011 Andrei Drexler, Richard Allen, James Canete
4
5This file is part of Reaction source code.
6
7Reaction source code is free software; you can redistribute it
8and/or modify it under the terms of the GNU General Public License as
9published by the Free Software Foundation; either version 2 of the License,
10or (at your option) any later version.
11
12Reaction source code is distributed in the hope that it will be
13useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with Reaction source code; if not, write to the Free Software
19Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20===========================================================================
21*/
22
23#ifndef TR_POSTPROCESS_H
24#define TR_POSTPROCESS_H
25
26#include "tr_fbo.h"
27
28void RB_ToneMap(FBO_t *hdrFbo, ivec4_t hdrBox, FBO_t *ldrFbo, ivec4_t ldrBox, int autoExposure);
29void RB_BokehBlur(FBO_t *src, ivec4_t srcBox, FBO_t *dst, ivec4_t dstBox, float blur);
30void RB_SunRays(FBO_t *srcFbo, ivec4_t srcBox, FBO_t *dstFbo, ivec4_t dstBox);
31void RB_GaussianBlur(FBO_t *srcFbo, FBO_t *dstFbo, float blur);
32
33#endif