Change depth into a texture

The plan is to use the texture as input for some shaders.