Made depth buffer optional in render-to-texture.

Won't be needed when acting on a previously rendered texture.