add texture debug saving for gi renderer (used in blog post)