How to mimic the same fixed-size horizon as in this racing game?

Posted by Aybe on Game Development See other posts from Game Development or by Aybe
Published on 2014-06-10T18:14:12Z Indexed on 2014/06/11 3:49 UTC
Read the original article Hit count: 282

Filed under:
|
|
|

I am trying to replicate the same horizon (buildings and sky) as in the image below:

enter image description here

As you can see, the player has advanced in a straight line, yet the horizon has still the same size:

enter image description here

This is my attempt using 3D, while it's okay when the player is on the start line:

enter image description here

It's not so great when the player advanced as much as in the image no. 2:

enter image description here

This is an overview of where the horizon buildings and sky are located:

enter image description here

Obviously this won't achieve such effect when one is close to it, so I've tried to scale up the horizon on all axes but the problem is that the buildings are too small depending where you look at them from.

How can one mimic such rendering ?

© Game Development or respective owner

Related posts about 3d

Related posts about rendering