jo_the_rooster Posted Sunday at 12:26 PM Posted Sunday at 12:26 PM Hey everyone, I'm trying to limit the player's visibility on my map by placing a piece of dense fog. The problem is, from the outside the fog looks more like a wall, which doesn't look very nice. I tried messing with the shader but no luck so far. Here's my shader: textures/fogs/silentfog_border { qer_editorimage textures/fogs/fog.tga surfaceparm nonsolid surfaceparm nonopaque surfaceparm fog fogparms ( 0.89 0.89 0.89 ) 200.0 } Anyone know a way to make fog more believable? Thanks in advance.
NAB622 Posted Sunday at 01:26 PM Posted Sunday at 01:26 PM I don't believe there is any way around this. I always used corners and hallways to eliminate the visibility of those fog walls. If anyone else has a solution, I'm all ears too!
Lazarus Posted Monday at 01:26 PM Posted Monday at 01:26 PM Depends if your map is only exterior or not. I have seen someone in the old map-center / map-craft community do this trick once where they create a rounding fogcull always arround you, it wont show up as a pure wall, but it always surrounds you. I do believe its map wide though, since its worldspawn, You wont really see edges then. I am trying to find it. He did it i believe with the worldspawn key fog entity. (you can set up a fog keyas far as i know in the worldspawn, it applies then to the whole map). Dont forget to add farclip distance so you can set the fog distance before it is thick like peasoup. This works great on outdoors, but not if there is an interior, since the fog is applied there too. I doubt volumetric shaders allow for gradual (since its already gradual) for a blend of long edge to slow edge... What are you hiding? Droidy365 likes this
Lazarus Posted Monday at 06:56 PM Posted Monday at 06:56 PM Okay, got home and played with it, this is when you apply a fog to the worldspawn, i didnt play with the farclip propperty, but it surrounds you with fog as you see. (dont mind the red)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now