rewrite PhotoRealisticRenderer