Posted By: Scorpion
fog - how to turn it off? - 08/17/09 20:22
hello,
it's me again with a different shaderquestion.
If fogcolor is bigger than 0 everything works like expected in my shader: it displays the fog properly. Then there is the case when it's zero, normally there shouldn't be any fog.
My question: which variable in the shader tells me so?
Or do I have to go the dirty way and use fog_color_var in the shader?
Thank you
Scorpion
it's me again with a different shaderquestion.
If fogcolor is bigger than 0 everything works like expected in my shader: it displays the fog properly. Then there is the case when it's zero, normally there shouldn't be any fog.
My question: which variable in the shader tells me so?
Or do I have to go the dirty way and use fog_color_var in the shader?
Thank you
Scorpion