Hi there. I was wondering if anyone could tell me what the technique would be to accomplish the following coordinate conversion:
I have a standalone (not unity3d) 2d map editor that lets me draw regions on to a 2D texture. A region is defined as a list of Vector2 values (see attachment 1).
Now, in unity, I read this region definition and want to display the map in a perspective view (see attachment 2).
My goal is to be able to mouse over regions on the map and when the mouse is over a defined region, it should light up so the user can peruse the map and explore points of interest.
So far, I have simply created a plane in Unity and textured it with the map. The plan was to somehow convert the 2d texture coordinates that define the game map regions into 3D region objects in Unity and just catch the mouseover events to highlight the region via shader.
I’m wondering if you know how I might create those region objects, given 2D texture coordinates that were previously captured with the map editor.
Thanks in advance!

