I want to make the sun come from a particular direction to simulate it setting.
Do I do this in the skybox shader?
Or should i just turn off the light coming from the skybox and use sun lights instead?
I don't like this idea because it's then difficult to give even light to the whole map.
Maybe i should just turn down the skybox light then put in a sun.
Am i correct in thinking that sun entity lights are just point lights without a source or something different?
This is the shader script I'm currently using:
textures/interchange/sky
{
qer_editorimage textures/interchange/sunset.jpg
surfaceparm sky
surfaceparm noimpact
surfaceparm nolightmap
surfaceparm nomarks
q3map_backSplash 0 0
q3map_surfacelight 50 (what does this mean?)
q3map_sunExt 0.7 1 1 250 0 90 15 32 (and these numbers?)
skyparms env/sunset/sunset - -
}
I do remember seeing in a script the definition of what all the variables do. But I can't find it anymore nor on the net either.
Any help appreciated.