question about minimaps

Hi

I have created a minimap for my scene which simply renders the scene dynamically to display current objects. The problem here is its set to pixel coordinates. I want them changed to normalized coordinates so that when I maximize the game window, the rectangle (of the minimap) resizes itself in proportion to the game scene.

Does anyone have a clue how to normalize the rectangular coordinates?

Thanks

If you are doing this with a render texture, I think I may have answered this in your other thread about scaling GUI elements. If you are doing it with an overhead camera (with the normalized viewport rect set to a small portion of the screen) then the minimap should scale automatically. If this isn’t happening, perhaps you could post the code you are using.