color_buf = new Texture2D;
color_buf->set_min_filter(NEAREST);
color_buf->set_mag_filter(NEAREST);
color_buf->storage((hdr ? RGB16F : RGB), width, height);
color_buf = new Texture2D;
color_buf->set_min_filter(NEAREST);
color_buf->set_mag_filter(NEAREST);
color_buf->storage((hdr ? RGB16F : RGB), width, height);
// XXX Need two color buffer textures to handle multiple post-processors correctly
for(vector<PostProcessor *>::const_iterator i=postproc.begin(); i!=postproc.end(); ++i)
// XXX Need two color buffer textures to handle multiple post-processors correctly
for(vector<PostProcessor *>::const_iterator i=postproc.begin(); i!=postproc.end(); ++i)