summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-12-01 10:00:58 +0100
committerGitHub <noreply@github.com>2020-12-01 10:00:58 +0100
commit6dcbc8f06216644bce8547d10643e63986976ec0 (patch)
tree5fa115555391d067455f9f26a7ff3df45d484875
parentMerge pull request #846 from withmorten/ini (diff)
parentUpdate Camera.cpp (diff)
downloadre3-6dcbc8f06216644bce8547d10643e63986976ec0.tar
re3-6dcbc8f06216644bce8547d10643e63986976ec0.tar.gz
re3-6dcbc8f06216644bce8547d10643e63986976ec0.tar.bz2
re3-6dcbc8f06216644bce8547d10643e63986976ec0.tar.lz
re3-6dcbc8f06216644bce8547d10643e63986976ec0.tar.xz
re3-6dcbc8f06216644bce8547d10643e63986976ec0.tar.zst
re3-6dcbc8f06216644bce8547d10643e63986976ec0.zip
-rw-r--r--src/core/Camera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp
index 1e1aa722..9281a20a 100644
--- a/src/core/Camera.cpp
+++ b/src/core/Camera.cpp
@@ -720,7 +720,7 @@ CCamera::Process(void)
else
LODDistMultiplier = 1.0f;
// missing on PS2
- GenerationDistMultiplier = LODDistMultiplier;
+ GenerationDistMultiplier = 70.0f/CDraw::GetFOV() * fmin(CDraw::GetAspectRatio(),1.82f)/(4.0f/3.0f);
LODDistMultiplier *= CRenderer::ms_lodDistScale;
//