in-game map
Hello guys, so I've been trying to create an in-game map similar to how rust and arma 3 have maps
But I couldn't find any tutorials on it but I did find a tutorial on minimaps so I decided that I'd just upscale that. But I ran into a couple of problems..
Problem 1:
When I used a render texture I then don't know how to get the 3d position of where I clicked on the texture map as it was scaled down to 750, 500 and obviously cam.ScreenPointToRay(Input.mousePosition) gave an offset because it wasn't taking scale into account. So then I scrapped the render texture and just done the fullscreen camera.
Problem 2:
Using a camera gives a 3d view but I only really want a sharp 2D view, I saw a tutorial on someone doing something similar on a minimap by using the culling layers and adding sprites to objects in the game that could only be seen by the camera map. But I have no idea how to upscale this to a full terrain the only other idea I have is some kind of camera effect via shaders but have no clue where to start with that.
Sorry if this is badly explained.
Your answer
Follow this Question
Related Questions
How do I cell shade terrain? 0 Answers
Question about metaballs to create a influence map 0 Answers
3D movie screen with no scripting 0 Answers
Maximum number of hexagons in one map? 1 Answer
Generating World map like, blocky map? 0 Answers