Is there any way to render a gameobject multiple times without cloning a prefab repeatedly (which wouldn’t be anywhere near as efficient as instancing, I expect) or do a per-hex outline without doing so?
What I’m trying to do is this: I have a bunch of hexes and my intention was to have empty hexes have an outline. So I made a model and texture for that. The buildable area, however, is 2^18 hexes currently. If worst comes to worst I can just make enough of these ‘empty space outline’ objects to go in the visible area and place them there, then either relocate them as the screen is scrolled, or destroy and recreate them (likely less efficient but easier). (A problem would obviously arise if the user scrolled way out, as more and more would be required, but I could just turn them off at a particular zoom or something)
I’m hoping there’s a more efficient way, however. (I’ve used instancing in XNA previously, and HLSL, but the shaders used in Unity look completely different to me and I’m not sure what’s going on in them - and I seem to be locked out of all the useful features due to not having the pro version, so I’ve avoided messing with the shaders and ignored all the pro-only classes for now)
This is my first question because until now I haven’t run into anything I couldn’t figure out myself or by googling.