mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 11:22:45 +01:00
Take far plane distance from the correct camera
This commit is contained in:
parent
a3cc04f4eb
commit
f8a90a5eb6
@ -303,7 +303,7 @@ void GameRenderer::renderWorld(GameWorld* world, const ViewCamera &camera, float
|
||||
glm::vec4(skyBottom, 1.f),
|
||||
glm::vec4(camera.position, 0.f),
|
||||
weather.fogStart,
|
||||
camera.frustum.far
|
||||
_camera.frustum.far
|
||||
};
|
||||
|
||||
renderer->setSceneParameters(sceneParams);
|
||||
|
Loading…
Reference in New Issue
Block a user