Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Level Editor Help Outdoors Fog?
Kreekakon Offline
Pick a god and pray!

Posts: 3,063
Threads: 70
Joined: Mar 2012
Reputation: 124
#1
Outdoors Fog?

Hey there all, I've got a small problem. The level I'm trying to build right now is an outdoor environment, and is supposed to be covered in fog. However, the skybox I'm using can be seen perfectly crystal clear through all the fog, which seems a bit unnatural. Anyone have any idea how to fix this?
06-16-2012, 01:28 PM
Find
Rapture Offline
Posting Freak

Posts: 1,078
Threads: 79
Joined: May 2011
Reputation: 30
#2
RE: Outdoors Fog?

Can you give us a pictue?

But to answer your problem, if you don't want the skybox to seen through the fog. Go to Static Objects > Technical > Blackplane. Make a box around the area (Look at Amnesia's Chapter 11 map, called Study. They do a similiar technique.)
(This post was last modified: 06-16-2012, 02:01 PM by Rapture.)
06-16-2012, 02:01 PM
Find
Kreekakon Offline
Pick a god and pray!

Posts: 3,063
Threads: 70
Joined: Mar 2012
Reputation: 124
#3
RE: Outdoors Fog?

This should give you a general idea of my problem:
Spoiler below!
[Image: picic.png]
(This post was last modified: 06-16-2012, 02:10 PM by Kreekakon.)
06-16-2012, 02:10 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#4
RE: Outdoors Fog?

You can't fix that without removing the skybox texture and setting the skybox color to the same color as the fog. Use the script functions to set the texture and remove the global fog when needed.

Tutorials: From Noob to Pro
06-16-2012, 08:08 PM
Website Find
Traggey Offline
is mildly amused

Posts: 3,257
Threads: 74
Joined: Feb 2012
Reputation: 185
#5
RE: Outdoors Fog?

Simply creating a giant box around your level will fix this, skyboxes do not recieve any shading, inluding fog effects. What I'd recommend doing is making a cube model with inverted faces and the applying a skybox texture to it and then set it to be fully illuminated in the material editor. That way you can have a skybox and let fog be visible ontop of it.
06-16-2012, 09:31 PM
Find




Users browsing this thread: 1 Guest(s)