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?
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 should give you a general idea of my problem:
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.
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.