RenderTexture issue

Hi, I have a camera, that renders plain white color on a black background to a render texture (by setting a Target Texture). Everything looks great in the preview window; however the actual texture always comes out in really strange colors:

The second one was taken on a different PC, it even has some gradation, and honestly it looks like some sort of depth map to me.

How can I make sure, that the RenderTexture actually gets what the camera sees?

Thanks!

Try switching the Color space from Linear to Gamma, or vice versa.

It turned out that the render texture format was set to depth. Reverting it to ARGB32 fixed the problem.