![]() |
fog help 1 Attachment(s) Ok here is my problem ive added fog to my map and it has black patches that show up threw the fog. Really weird and i dont understand it, Here is my shader. textures/chronicle_beach/grey_fog { qer_editorimage textures/tools/editor_images/qer_fogblack surfaceparm nonsolid surfaceparm fog fogparms ( 0.45 0.45 0.45 ) 2000 } And here is a screenshot |
Re: fog help Ok ive figured out that if i use a brush for my fog it doesnt do this. but if i use "key = fog" "value = textures/chronicle_beach/grey_fog" it does any ideas why? |
Re: fog help did u add the texture to your shaderlist.txt? that might be the problem, because your radiant might not have added the info to the compiler (info beeing : surfaceparm fog) also you might want to change fogparms ( 0.45 0.45 0.45 ) 2000 to fogparms ( 0.45 0.45 0.45 ) 2000.0 I'm not sure why but in fogs.shader they do that to all fogs |
Re: fog help I added to shader text. But i will try adding the .0 see if that changes anything. |
Re: fog help Unforchinatly it did not help m8. Any other ideas? |
Re: fog help I can't see your picture, mind hosting it on imageshack or something>? |
Re: fog help |
Re: fog help Yes I can see it. I don't think it has to do with the shader of you fog, but with the shader of the texture on the patches or with the patches. If you try to replace them with normal brushes to test, I think they won't show up as black. I don't know what's causing it though, probably the shader on the patches. |
Re: fog help The patches are my terrain and here is my terrain shader. I think you mite have somethen there Lethal banana but im not shur what part of it mite cause it. textures/chronicle_beach/terrain_0 { q3map_lightmapsamplesize 32 q3map_material sand q3map_lightmapmergable q3map_lightmapaxis z q3map_texturesize 128 128 q3map_tcGen ivector ( 124 0 0 ) ( 0 252 0 ) { map textures/jordan/sand.jpg } { map $lightmap blendFunc GL_DST_COLOR GL_ZERO tcGen lightmap } } textures/chronicle_beach/terrain_1 { q3map_lightmapsamplesize 32 q3map_material rock q3map_lightmapmergable q3map_lightmapaxis z q3map_texturesize 128 128 q3map_tcGen ivector ( 124 0 0 ) ( 0 252 0 ) { map textures/colombia/new_big_rock.jpg } { map $lightmap blendFunc GL_DST_COLOR GL_ZERO tcGen lightmap } } textures/chronicle_beach/terrain_0to1 { q3map_lightmapsamplesize 32 q3map_material rock q3map_lightmapmergable q3map_lightmapaxis z q3map_texturesize 128 128 q3map_tcGen ivector ( 124 0 0 ) ( 0 252 0 ) { map textures/jordan/sand.jpg } { map textures/colombia/new_big_rock.jpg alphaGen vertex blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA } { map $lightmap blendFunc GL_DST_COLOR GL_ZERO tcGen lightmap } } textures/chronicle_beach/terrain.vertex { { map textures/jordan/sand.jpg rgbGen vertex } } |
Re: fog help maybe (maybe a stupid idea) fogs belong in the fogs map =p textures/chronicle_beach/grey_fog => textures/fogs/grey_fog |
| All times are GMT -7. |
Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.