Refactor the framebuffer into a separate class.
Pass time to shaders.