- Home /
Render planes onto terrain? What to use instead of projectors?
Hi guys. I'm working on some sort of a grid system for my game which basically displays info about possible movement for units (think of grid from Heroes of Might & Magic?).
Now I tried to create projectors for each square tile that unit can go to but it causes big fps drops with many projectors running. What should I use?
Thanks.
Answer by Sisso · Sep 04, 2013 at 12:52 PM
My alternatives:
If it is a small and you want a nice graphics, generate a dynamic texture for all terrain and blend it with terrain texture.
For large ones, I think that you need to use simple planes with transparent texture. If you have a irregular terrain you will need to create a mesh dynamically, especially if you want it with smooth curves.
How exactly should I go about making this dynamic mesh? Any docs I should look at?
I was searching about GUI.SelectionGrid and found this thread. I think that have what are you looking for.
http://forum.unity3d.com/threads/6480-Grid-drawing-problem?p=303851&viewfull=1#post303851
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Material projected to players position. 1 Answer
Bullet Marks On Moving Object : 2D 1 Answer
Strange Unity Projector Artifacts / Flickering when on Meshes 0 Answers