Fog shader
Posted: Mon Jul 06, 2015 2:05 am
So I want to use a custom fog shader in a map. Here's the shader:
I took this shader directly from another fog shader, which I tested in game, and works. However when I try mine, it shows notex on the fog brush, and the console says "trying seafog.TGA". The other for shader I took it from (q3wcp16), does not have a "seafog.tga" in the textures folder for that map. Am I missing something here? Why doesn't this work? I tried renaming "seafog" to other words and I get the same result.
I could just use q3wcp16's fog shader, but the problem is I need a different distance to opaque than that one uses.
Code: Select all
textures/bacon/seafog
{
qer_editorimage textures/sfx/fog_blue.tga
surfaceparm trans
surfaceparm nonsolid
surfaceparm fog
surfaceparm nolightmap
qer_nocarve
fogparms ( 0.4 0.5 0.9 ) 384
}
I could just use q3wcp16's fog shader, but the problem is I need a different distance to opaque than that one uses.