As you can see the first screenshot the sun is invisible. If I look to the right the sun appears again, the 2nd screenshot. I think there is a problem with the fog, but I couldn’t solve it.
This is the shader I use:
textures/wezelkrozum_skies/sky1
{
nocompress
qer_editorimage textures/skies_sd/nero_bluelight.tga
q3map_lightimage textures/skies_sd/siwa_clouds.tga
q3map_nofog
q3map_sun 0.75 0.70 0.6 135 199 49
q3map_skylight 75 3
sunshader textures/wezelkrozum_skies/sun1
surfaceparm noimpact
surfaceparm nolightmap
surfaceparm nodlight
surfaceparm sky
skyparms textures/skies_sd/wurzburg_env/sky 512 -
{
clampmap textures/skies_sd/siwa_mask.tga
tcMod scale 0.956 0.956
tcMod transform 1 0 0 1 -1 -1
rgbGen identityLighting
}
}
textures/wezelkrozum_skies/sun1
{
nocompress
cull none
{
map textures/skies_sd/siwasun.tga
blendFunc blend
rgbGen const ( 1.0 0.95 0.9 )
}
}
The first is the sky and the second is the sun.
I tried to apply,
surfaceparm noimpact
surfaceparm nolightmap
q3map_nofog
to the sun shader, but it won’t give any effect.
Hope someone can solve the problem.
Wezelkrozum