higher wheel LOD dist

This commit is contained in:
aap 2021-01-22 00:40:46 +01:00
parent ed74182cc2
commit 8520bbd2c7

View file

@ -263,6 +263,7 @@ CVisibilityPlugins::RenderWheelAtomicCB(RpAtomic *atomic)
mi = GetAtomicModelInfo(atomic); mi = GetAtomicModelInfo(atomic);
len = Sqrt(DistToCameraSq); len = Sqrt(DistToCameraSq);
len *= 0.5f; // HACK HACK, LOD wheels look shite
lodatm = mi->GetAtomicFromDistance(len * TheCamera.LODDistMultiplier / VEHICLE_LODDIST_MULTIPLIER); lodatm = mi->GetAtomicFromDistance(len * TheCamera.LODDistMultiplier / VEHICLE_LODDIST_MULTIPLIER);
if(lodatm){ if(lodatm){
if(RpAtomicGetGeometry(lodatm) != RpAtomicGetGeometry(atomic)) if(RpAtomicGetGeometry(lodatm) != RpAtomicGetGeometry(atomic))