Adding preprocessing/postprocessing hooks in the world rendering cycle for video recording extension