Skybox That Changes For Day/Night

Started by dangerdoc, February 21, 2012, 15:05:05

Previous topic - Next topic

dangerdoc

Hello,
I am trying to program a game, and I was wondering how to make a skybox. Would a cylinder work for a skybox, or would you use a sphere? How about day/night texture change? I think I know how to make the light change, but how do you make the textures gradually change? Here is what I know:
You have a 3-d map, inside a sphere/cylinder, and a light also. You also add another cylinder for the sun/moon that rotates inside the skybox?

Thanks,
dangerdoc
“We build but to tear down. Most of our work and resource is squandered. Our onward march is marked by devastation. Everywhere there is an appalling loss of time, effort and life. A cheerless view, but true.” - Nikola Tesla