added settings to allow gamma-correct rendering

This adjusts the framebuffer and incoming textures (RGBA) to be converted.