Jump to content

Home

fog shader code malfunction...


wedge2211

Recommended Posts

I have a fog shader I want to use as a global fog in my next map. The problem is, whenever I put the fog in the level, it come up pitch-black and since it's global, I'm stuck in a room in which I can't see ANYTHING. Here's my shader code:

 

textures/derelict/smoke
{
qer_editorimage	textures/fogs/fog.tga
qer_nocarve
surfaceparm	nonsolid
surfaceparm	nonopaque
surfaceparm	fog
surfaceparm	trans
q3map_nolightmap
fogparms	( .674 .545 .502 ) 1024.0
cull	disable
}

 

I added the key "_fog" and value "textures/derelict/smoke" into my worldspawn entity, and also tried removing that key and adding a volumetric fog brush, both no luck.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...