Jump to content
The Dark Mod Forums

Fog light acts like black fog


grayman

Recommended Posts

I noticed that when a fog light is turned off, it acts like black fog instead of just being off.

 

I cycled through the combinations of ambient rendering and interaction shader and the result was always the same.

 

 

Is this a known problem? Feature?

 

Link to comment
Share on other sites

It's meant to be like that. Fog is fog and the _color setting just sets the color of the fog. All lights when they are off are really just 0,0,0 color which is no light at all. But a fog light is still a fog light and so you get black fog.

 

I think Tels and I discussed some new code to control fogginess. I can't recall if he did it. If not, the only way is to teleport foglights to/from an area.

Link to comment
Share on other sites

I'm working with tunnels, and was using a light brick texture that worked well with fog. I switched to a darker brick and the fog looked crappy, very striated as you moved around. I turned the fog light off to see what it would look like w/o fog, and everything in the distance turned black. I thought it was a material problem with ambients for a while, then noticed that a torch in the distance was dimmed, like it was still in fog.

 

I deleted the fog light and the black went away.

 

I thought off was off was off, but I guess fog lights work differently.

 

Maybe some map version in the future will scream for fog once again, at which point I'll think about teleporting, shaderParm, etc.

 

I suppose an off fog light could be used for a nice magical "creeping darkness" effect, though.

Link to comment
Share on other sites

Which material are you using on the fog-light ?

 

There are fog-materials that are actually additive and should behave like you expect them to if you set the color to 0 ( causing no fog to be drawn, and no blackness ).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • OrbWeaver

      Finally got round to publishing a tutorial on baking normal maps in Blender, since most of the ones we have are inaccessible or years out of date.
      · 0 replies
    • nbohr1more

      The FAQ wiki is almost a proper FAQ now. Probably need to spin-off a bunch of the "remedies" for playing older TDM versions into their own article.
      · 1 reply
    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 3 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 7 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
×
×
  • Create New...