Implementing Discrete Level of detail for CUnit based on the distance from camera.
Before submitting model to the renderer, it calculates distance from camera. Based on that computed distance, is switches to another actor.
We avoid switching too much by comparing the lods and only reloading the actor when necessary.
ToDo:
* Avoid reloading the whole actor / copying the Model entirely
* Improve animation transition
* Make sure everything works (cast shadow doesn't seem to, float also probably can't differ)
* Make sure the prop LOD is handled, and that the # of entries is capped.
* Maybe using a logarithm for the distance algorithm
Another usage: Hyrule Conquest would like to have that.