Base for render-to-texture demo