Abstracted a little so it works without drawing fbo