![]() |
vkmEngine 1.0.0
A C++ game engine · vkmengine.com
|
Distance-selected geometry for an entity. More...
#include <lod.h>
Public Attributes | |
| float | bias = 1.0f |
| Scales every level's range; >1 keeps detail longer. | |
Static Public Attributes | |
| static constexpr float | REFERENCE_P11 = 1.7320508f |
| projection[1][1] of the 60-degree vertical field of view level ranges are set against. | |
Distance-selected geometry for an entity.
Replaces only the Mesh component's geometry. Levels run near to far, selected in the visibility cull on bounds-centre distance scaled to REFERENCE_P11's field of view. Past the last level it keeps drawing; Culling::isNearEnough drops entities.