1
0
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:
Daniel Evans 2016-05-25 02:15:04 +01:00
parent a3cc04f4eb
commit f8a90a5eb6

View File

@ -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);