diff --git a/android/app/src/main/cpp/code/renderergl2/tr_mesh.c b/android/app/src/main/cpp/code/renderergl2/tr_mesh.c index 160be73d..7ae71f3c 100644 --- a/android/app/src/main/cpp/code/renderergl2/tr_mesh.c +++ b/android/app/src/main/cpp/code/renderergl2/tr_mesh.c @@ -164,6 +164,17 @@ R_ComputeLOD ================= */ int R_ComputeLOD( trRefEntity_t *ent ) { + + //HACK: force specific LOD (for VR it fits better) + if (1) + { + //high -> 0, medium -> 2, low -> 4 + int lod = r_lodbias->integer + r_lodbias->integer; + if (lod >= tr.currentModel->numLods) + lod = tr.currentModel->numLods - 1; + return lod; + } + float radius; float flod, lodscale; float projectedRadius;