[core] Set "max_camera_distance" to 1.5 for viewport-aligned road labels.
Viewport-aligned curved labels start to look very strange in the distance. Until we have a better system for projecting them, just prevent them from showing.
This commit is contained in:
committed by
Ansis Brammanis
parent
2ee59796fb
commit
f8402e2042
@@ -61,7 +61,7 @@ Values makeValues(const bool isText,
|
||||
uniforms::u_collision_y_stretch::Value{ tile.tile.yStretch() },
|
||||
uniforms::u_camera_to_center_distance::Value{ state.getCameraToCenterDistance() },
|
||||
uniforms::u_pitch::Value{ state.getPitch() },
|
||||
uniforms::u_max_camera_distance::Value{ 10.0f },
|
||||
uniforms::u_max_camera_distance::Value{ values.maxCameraDistance },
|
||||
std::forward<Args>(args)...
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user