We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5331608 commit 2e52418Copy full SHA for 2e52418
src/engine/render/hdr.h
@@ -20,6 +20,18 @@ extern GLenum hdrformat;
20
*/
21
extern int gethdrformat(int prec, int fallback = GL_RGB);
22
extern void cleanupbloom();
23
+
24
+/**
25
+ * @brief Sets up bloom with specified size.
26
+ *
27
+ * Will attempt to make a set of bloom buffers of size w pixels by h pixels. Uses texture
28
+ * type set by gethdrformat() and hdrprec variable. There are six FBOs and textures
29
+ * stored in bloomtex/bloomfbo which are modified by this setup operation.
30
31
+ * Size of the bl
32
+ * @param w width of bloom buffer
33
+ * @param h height of bloom buffer
34
+ */
35
extern void setupbloom(int w, int h);
36
extern void loadhdrshaders(int aa);
37
extern void copyhdr(int sw, int sh, GLuint fbo);
0 commit comments