You should be able to do this with the renderer.