PDA

View Full Version : distance fog and the background



legacy-Chris IX
03-03-2004, 03:02 PM
Can i make it so that (in an outside area) the background can always be seen through the fog?

I maybe did something wrong, but I just get a black hole when the surface is too far away.
Isn't it supposed to be solid fog?

thanks

Angel_Mapper
03-03-2004, 03:44 PM
It will be in game. It will show up as a black hole in the editor unless you hit Show Backdrop (keyboard shortcut: K).

legacy-wolferey
03-03-2004, 03:59 PM
Originally posted by Angel_Mapper
It will be in game. It will show up as a black hole in the editor unless you hit Show Backdrop (keyboard shortcut: K).

How about, ingame, you cannot see the meshes after a certain viewdistance, only the backdrop? Is there a way to make it see beyond the current viewdistance, or are we limited to a certain space and anything beyond, except terrain, fog and backdrop, will disapair?

legacy-commander_keen2
03-04-2004, 01:21 AM
Originally posted by Chris IX
Can i make it so that (in an outside area) the background can always be seen through the fog?

I maybe did something wrong, but I just get a black hole when the surface is too far away.
Isn't it supposed to be solid fog?

thanks

are you using a skybox :confused:

legacy-AkumuX
03-04-2004, 01:10 PM
Originally posted by Angel_Mapper
It will be in game. It will show up as a black hole in the editor unless you hit Show Backdrop (keyboard shortcut: K).
Are you positive about this? I've been dealing with this issue a lot, and my only conclusion was to make sure the DistanceFogEnd was farther larger than any possible distance the player might look from one point to the other in a subtracted area.

Someone told me the only way around it was to make a skybox that had a texture on its surfaces that was exactly the same color as the fog color you're using. This seems to be convoluted if you want to have a normal skybox as well.

But other than that, even when I was in game, those ugly holes were showing up when I had the fog distance too short.

Angel_Mapper
03-04-2004, 03:11 PM
If you open up IceFields for example, in the editor you'll see the black holes at far distances, but it works in-game. :)

legacy-ThanadoS
03-04-2004, 03:40 PM
strange... i did a map with distance fog as well and it was about... 16384³ and i had this nasty holes as well... also ingame. I don't know why but... it looks damn bad. (I had no skybox...)

legacy-Original9
03-04-2004, 07:07 PM
Originally posted by ThanadoS
(I had no skybox...)

That's why. ;)

legacy-Chris IX
03-05-2004, 03:17 PM
yes, using a skyzone,
the backdrop now shows permanently in the background while playing, but the cliffs fade out to reveal backdrop behind them

I have basically an area surrounded on all sides by cliffs, with a white fog. AT the moment the sky is a starry black one. When the terrain is beyond the fog, it disappears leaving a pure, unfogged, black sky.
aaaah

can't I just have a sky poking through the fog above my head, but a pure fog where the terrain has disappeared?

legacy-Marsfyre
03-05-2004, 03:21 PM
use fog in your skybox

legacy-ThanadoS
03-05-2004, 03:27 PM
can anyone link to a good skybox tutorial? plz^^

legacy-Chris IX
03-05-2004, 03:56 PM
wow, if only I'd thought of that.
Do I have to scale down the fog in my skybox?

edit: nvm that, I'll just figure it out...


thanks

legacy-Chris IX
03-05-2004, 04:07 PM
wait, would it be best to only have fog in the skybox?

legacy-Original9
03-05-2004, 04:59 PM
No. Use the fog in both zones (skybox and main map area). AFAIK, it doesn't affect fps so there shouldn't be a problem. If you're not sure you want to do that, use a fog ring (static mesh with a fog like texture applied).