skybox, skydome or skywhatever that will allow day and night
#1 Members - Reputation: 218
Posted 05 July 2012 - 08:55 AM
HLSL seems to be mad at me and it just does't want to cooperate, besides my HLSL knowladge seems to be closer to 0 than what I would like to.
I've read somewhere that insted of a skybox, that is rather flat, I might try to use a skydome, make a sun with HDR, and a lot of stuff I just can't get.
The only requirement I've got (to make it look pretty), is that day to night transitions can be seem on both sides, so on the half where the sun goes down it shows orange to blue gradient transition, while at the same time on the other half it shows kind of blue to black gradient transition.
Shadows should move with the sun position, and the moon should shine a tidy bit.
So, I would like to request help (lots of help) from the gurus in this forum, please o please... help!!.
#2 Members - Reputation: 251
Posted 05 July 2012 - 05:36 PM
Then in game you could just rotate the sphere and have a light follow where the sun/moon is?
Don't know how to explain, and that is probably the wrong way to do it. But it's just an idea
They just see the big blue 'e' and think "Internet". The thought process usually does not get much deeper than that.
Worms are the weirdest and nicest creatures, and will one day prove themselves to the world.
I love the word Clicky
#3 Members - Reputation: 680
Posted 05 July 2012 - 05:56 PM
Why don't you simply interpolate between a day and night texture.The only requirement I've got (to make it look pretty), is that day to night transitions can be seem on both sides, so on the half where the sun goes down it shows orange to blue gradient transition, while at the same time on the other half it shows kind of blue to black gradient transition.
As for the sun, if your looking for something that looks a lot like a sun incorporate volumetric light scattering.
Since you said your using XNA I would imagine you don't have much experience doing pure graphics theory, usually that is wrapped up in classes, so you might try checking out this XNA example I found online.
Edited by DevLiquidKnight, 05 July 2012 - 06:13 PM.
#4 Members - Reputation: 1020
Posted 05 July 2012 - 06:09 PM
#5 Members - Reputation: 218
Posted 05 July 2012 - 09:41 PM
Graphics theory and me, yeah... not really good at it, mostly doing self thought lessons here, with the help of the forum of course. That XNA example look promising.
I was thinking like jeff here which has the interpolation, the textures, colors, HDR, well I know what it is from what I've read and it does looks cool, would be in the nice to have list, but not entirely required. So this could be a point up for all of you, as the idea is just the combination, of all... I just wished that example would be in xna 4.0... instead of 3.1, dang it.
I'll try to make a rotating sphere with some colors to start, and see how that comes up.. then, I'll just try to make some nice night textures, and the day texture, might as well just be a light blue sky with a white sphere on it, as my clouds are move live than just a image pasted on top of the blue (or that's the plan for the soon to come clouds).
#6 Members - Reputation: 1020
Posted 05 July 2012 - 10:54 PM
#9 Members - Reputation: 218
Posted 07 July 2012 - 05:18 PM
So they are just like any other object in the scenery that will take and produce shadows.






