class Bloom: public PostProcessor
{
private:
- Framebuffer fbo;
+ Framebuffer fbo[2];
Texture2D tex[2];
Program blur_shader;
ProgramData blur_shdata_common;
public:
Bloom(unsigned, unsigned);
-
+
/** Sets the σ value of the gaussian blur. Values much larger than 4.0 are
likely to cause artifacts. */
void set_radius(float);