RELEASED:
Pro version: http://www.unity3dx.com/index.php/products/uls-pro/
Free version: http://www.unity3dx.com/index.php/products/uls-free/
The idea was to make a LOD system that is blazing fast, uses almost no CPU, and can be used on any type of GameObjects.
While I was doing a forest pack (not finished yet) I came with the idea that in order to have something that is working smoothly on iPhone and is taking as low CPU as possible, I should not have a main manager that calls all the LOD objects, but rather have each object that are like a little robot managing its own LOD.
You need to create a special GameObject that will includes all the different LOD. Each LOD can be any kind of prefab. In the example of the video, the 1st LOD is a prefab with a rounded box of 500 polys, a spotlight with flare, and it catches and receive shadows. The second LOD is a prefab that has no spotlight and caches shadows. The last one is a simple 86 polys box that has no shadow.
Everything is possible and each LOD prefab can be anything. Buildings, trees, spaceships with projectors and lights… anything.
Each Object is prepared by an Editor Script. The editor script will set some variable, like the number of frame the object will check itself, add the necessary scripts, the distances for each LOD, and eventually the wind, or any specifc value. After that, each object is independent and is taking care of itself. The manager can instantiate or erase the LOD pre-generated. Once done you can save your project and all the LOD clones can be moved, and arranged the way you want. When you run the program, each clone will act by itself and optimize its display. The result is really fast even on iPAD 1.
In this video an equivalent to 20 Millions poly are displayed, 37500 objects, each with the LOD script attached, around 4000 spotlights with flare, shadows, collision (you can see that the sun hides behind the cubes), the first LOD is a rounded cube of about 500 polys. I get more than 40 FPS (average 50 FPS) when I do not record the video.
My setup is a Laptop with I7 720 CPU and Geforce GTX260M.
The system is working on iPad/iPhone, I am working on another video specific to these platforms.