How to create ground and sky with gradient color, and extend indefinitely

I would like to create a small world like the one in this portfolio.

I want the sky and ground extend indefinitely, with gradient color. So when user rotate the scene they won’t see the end. Any suggestions?

Maybe add fog for water. Or fresnel

You can do this trick with a gradient on body element, size of the ground and camera’s frustum parameters.

1 Like

Nice example, thanks man!

https://29a.ch/sandbox/2012/terrain/

1 Like

It’s really magnificant, too good for my app, I think I will settle for the above simple solution.