Merge pull request #856 from ZLau92/patch-2
Update Camera.cpp - Vehicle spawning on ultrawide aspect ratios
This commit is contained in:
commit
6dcbc8f062
@ -720,7 +720,7 @@ CCamera::Process(void)
|
|||||||
else
|
else
|
||||||
LODDistMultiplier = 1.0f;
|
LODDistMultiplier = 1.0f;
|
||||||
// missing on PS2
|
// missing on PS2
|
||||||
GenerationDistMultiplier = LODDistMultiplier;
|
GenerationDistMultiplier = 70.0f/CDraw::GetFOV() * fmin(CDraw::GetAspectRatio(),1.82f)/(4.0f/3.0f);
|
||||||
LODDistMultiplier *= CRenderer::ms_lodDistScale;
|
LODDistMultiplier *= CRenderer::ms_lodDistScale;
|
||||||
//
|
//
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user