add a way to modify renderer options right before rendering