Hi all, I would like to ask is it possible to do a skydome that will have different appearance on different time (like sunrise, sun set, star at night) ( i would like to show the environment in the real world) and then based on the environment, the corresponding shadow is cast?
Originally posted by wow:
[b]Hi all, I would like to ask is it possible to do a skydome that will have different appearance on different time (like sunrise, sun set, star at night) ( i would like to show the environment in the real world) and then based on the environment, the corresponding shadow is cast?
It’s not only possible, it’s easy. Load your skydome or skybox texture into Microsoft Paint or Photoshop or whatever and darken it, add stars and whatnot. Then use alpha blending to phase in and out from one to the other.
For a good tutorial on blending to go nehe.gamedev.net and check tutorial 8.