Implementing Discrete Level of detail for models based on the distance from camera.
Before submitting model to the renderer, it calculates distance from camera. Based on that computed distance, is switched to another actor of the model.
We avoid switching too much by comparing the lods and only reloading the actor when necessary.
Current distance to switch models is hardcoded and kind of small for showcase (maybe it is enough, dont know actually).
ToDo:
* Decide whether the option is for v1 or v2 (Art work will not be done in this patch)
* Find a way to get the configuration settings
* Maybe using a logarithm for the distance algorithm
Another usage: Hyrule Conquest would like to have that.
---------------------
I ll remove actor changes for another diff after feature is complete.
Also I would like to do profiling but i need find out why profiler2 is failing for me.
Btw. That units edited are in combat demo huge
I do not expect too much improvement since I removed just some random props.