Question by
iamzkz · Sep 03, 2017 at 07:07 AM ·
meshtilemapspriterenderertiles
How to display a huge image in 2D scene?
Hello guys, I need to display a huge image (big like earth) in a 2D scene, it is a PNG format image of real world map. I think like the other map APPs, the map image should be loaded and displayed tiles by tiles, not the whole one at a time, but how to display them properly and efficiently? What I can think of is, generating serval GameObjects and set the tile images as sprite of SpriteRenderer to them. But is that stupid? I thought there should be more advanced way to achieve it. Could anyone give some advices? Very appreciate it!
Comment