I guys!
I’m gonna relase the map et_dark but I found myself faced with a bad problem. I would use “fogvars” inside the sky shader, but as you can see in the picture I get this problem. How can I solve it? I would avoid using " _fog" in worldspawn because the end result is not nice!
This is the screenshot whit the problem:
This is the sky shader:
textures/et_dark_phx_b_2/sky_night
{
qer_editorimage textures/et_dark_phx_b_2/sky/sky_01
q3map_globaltexture
q3map_lightsubdivide 1024
q3map_sun 0.274632 0.274632 0.358662 22 325 28
q3map_surfacelight 20
skyparms - 200 -
surfaceparm nodlight
surfaceparm noimpact
surfaceparm nolightmap
surfaceparm sky
fogvars ( 0.09 .09 .13 ) 2600
{
map textures/et_dark_phx_b_2/sky/sky_01.tga
blendfunc GL_ONE GL_ONE
tcMod scale 12.0 12.0
}
}
worldspawn:
_color 1 1 1
ambient 10
fogclip 2700
farplanedist 2700
Although i have a lot of experience to create maps to be honest it is the first time that I find myself having to create a sky shader from scratch and I have not much experience about it.
I hope anyone can help me!
Sorry my BAD English!