In short my problem looks like this:
I have a heightmap that I use random generated texture on. I have 9 tiles on each map.
I have a render target that is 2000*2000pix.
For each tile I draw the texture to the target, I use target.GetTexture2D() to add the texture to a heightmap.
Problem is when I draw the next tile it also changes the Texture2D for the old tile, making all the tiles look like the same.
Is there a way to get the Texture2D and lock it somehow from being changed when the target changes? I tried making a new rendertarget for each time I draw a new texture but that did only crash the game.