http://www.youtube.com/watch?v=METuciFfBKQ
1- the sky are two big speric models rotating ??
2- the sun is another model
3-the sunlight is a dinamic light??????????????
I do not know it´s a great effect no doubt
how do you imagine to make this?
how do you imagine to make this?
hi, I am nahuel, I love quake and qc.
Re: how do you imagine to make this?
shadowmaps, so yes the sun is a dynamic light.
the sky could be coded in glsl easily enough. depends how easy it is to feed values to shaders in whatever engine you're using to get the sun in the right position. or you could use a sprite and skyroom.
the sky could be coded in glsl easily enough. depends how easy it is to feed values to shaders in whatever engine you're using to get the sun in the right position. or you could use a sprite and skyroom.
Re: how do you imagine to make this?
The sky could be done with 3 cubemaps.
The first (furthest back) one has clouds and rotates the texture matrix. Likewise the second (middle). The third (frontmost) has alpha 0 in the source images where the clouds should show. No need for rotating spheres drawn at a distance, this can be done directly on the original world geometry. The cloud layers needn't be high-res - clouds are pretty fuzzy anyway so a 256-size cubemap may even be enough; the mountains layer can be as high-res as your hardware can take. One pass in a shader (that could also include brightness factors, as well as other properties to make it look cooler). You could even go nuts and have many more layers, if your hardware was up to the job of running it. Blend between 2 "day layers" and 2 "night layers" for the clouds, then add in the frontmost/mountains layer with a fade to black/night colour. Nice day/night cycles.
It may even be possible to do without shaders, if you're comfortable with setting up texture combine modes, but any hardware that's capable of it would probably also be capable of shaders too, and shaders are just so much easier to do this kind of thing with.
The first (furthest back) one has clouds and rotates the texture matrix. Likewise the second (middle). The third (frontmost) has alpha 0 in the source images where the clouds should show. No need for rotating spheres drawn at a distance, this can be done directly on the original world geometry. The cloud layers needn't be high-res - clouds are pretty fuzzy anyway so a 256-size cubemap may even be enough; the mountains layer can be as high-res as your hardware can take. One pass in a shader (that could also include brightness factors, as well as other properties to make it look cooler). You could even go nuts and have many more layers, if your hardware was up to the job of running it. Blend between 2 "day layers" and 2 "night layers" for the clouds, then add in the frontmost/mountains layer with a fade to black/night colour. Nice day/night cycles.
It may even be possible to do without shaders, if you're comfortable with setting up texture combine modes, but any hardware that's capable of it would probably also be capable of shaders too, and shaders are just so much easier to do this kind of thing with.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for
Re: how do you imagine to make this?
Spike and Mh
Thanks for your request. I do not know anything about the use of shaders like that. Do you know where can i find and example of this??
How is possible blending cubemaps or rotate it??
Thanks in advance!!
Thanks for your request. I do not know anything about the use of shaders like that. Do you know where can i find and example of this??
How is possible blending cubemaps or rotate it??
Thanks in advance!!
hi, I am nahuel, I love quake and qc.
Re: how do you imagine to make this?
We've already done that sky effect in Alien Arena. Not really that hard to do.
http://red.planetarena.org - Alien Arena and the CRX engine
Re: how do you imagine to make this?
i've done this exact thing in darkplaces before. I'll have to dig up the test with it
i should not be here
Re: how do you imagine to make this?
Moving/rotating sky images *only* make sense when the sun itself is dynamic, and if the sunlight direction matches the actual image of the sun at all times. Otherwise you have the sun disk on one side, but the light coming from the other - that would suck from a level design perspective.
Re: how do you imagine to make this?
You could have a static sun layer but a moving clouds layer. You could also store some info in the alpha channel of the clouds layer that affects how the clouds are affected by sunlight, rotate RGB, leave A static and get a nice effect.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for