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, it switches to another actor.
This preloads all object entries for each quality level, and stores loaded models lazily.
- Improve animation transition
- Maybe using a logarithm for the distance algorithm
Another usage: Hyrule Conquest would like to have that.
(old) screenshots of Combat Demo Huge (check FPS - not visible: animations are skipped):