Ok here we go… the promised pics and problems.
What i m trying to do is: use sky-fog and make it look good with a water-surface. Skyfog is non-volumetric and doesnt work with shaders taht use lots of blends, so the water-surface has to be simple.
But somehow i get this problem:




I m on the same spot, just turning to the right and taking screenies… look at the surface of the water changing from the original dark tex to something very light. Explanations or approaches anyone?
Here is the water-shader:
textures/tr2redux_t/tr2r_water // works as layer on water_nodrawfog
{
qer_editorimage textures/tr2redux_t/tr2r_water_ei.jpg
qer_trans 0.9
cull disable
surfaceparm water
implicitMap textures/tr2redux_t/tr2r_water_02_d03.tga
}
This is the sky-shader:
textures/tr2redux_t/tr2r_skyfog
{
qer_editorimage textures/tr2redux_t/tr2r_fog_06_ei.jpg
q3map_sunExt 1 .95 .9 65 60 60 3 16 //65 75 75 3 16
q3map_lightmapFilterRadius 0 8
q3map_skylight 50 3
skyparms - 128 - //low value >> more curved sky
surfaceparm sky
surfaceparm noimpact
surfaceparm nolightmap
surfaceparm nodlight
nopicmip
fogvars ( .4 .4 .45 ) 4800
skyfogvars ( .23 .23 .24 ) 0.05
{
map textures/tr2redux_t/tr2r_fog_06sm.jpg rgbGen identity
}
{
map textures/tr2redux_t/tr2r_fog_06sm.jpg
blendfunc blend
rgbGen identity
tcMod scroll 0.002 0.001
tcMod scale 1.4 1.4
}
}
What also bothers me is this:

Its a simple boxmap for testing… look at the strange lines on the sand-tex and the line the fog is drawing on it.
This is the skyfog-shader (made my Tanya Cheex for the map TheRiver for RtCW, the 3 suppressed lines are suppressed by me):
textures/tr2redux_t/tanya_sky_fog
{
nocompress
qer_editorimage textures/tr2redux_t/tr2r_sky_011.jpg
q3map_lightimage textures/tr2redux_t/tr2r_fog_06sm.jpg
surfaceparm noimpact
surfaceparm nolightmap
surfaceparm sky
q3map_globaltexture
// q3map_forcesunlight
q3map_lightsubdivide 512
// q3map_sun .800000 0.783168 0.20851 18 35 35
// q3map_surfacelight 8
skyparms full 200 -
fogvars ( .4 .4 .45 ) 4850
skyfogvars ( .23 .23 .24 ) .05
{
map textures/tr2redux_t/tr2r_fog_06sm.jpg
tcMod scale 16.0 16.0
depthWrite
}
{
map textures/tr2redux_t/tr2r_fog_06sm.jpg
blendfunc blend
tcMod scroll 0.008 0.00
tcMod scale 2 1
}
}