Game Development Community

Volume Fog

by AIDan · in Torque Game Engine · 01/12/2002 (5:22 am) · 5 replies

Hi

How to add a volume fog to a mission??

greetings
Daniel

#1
01/12/2002 (9:38 am)
the engine doesnt support volumetric fog, at least that's what i think
#2
01/12/2002 (11:51 am)
ok so whats the diference between volumetric fog and the fog thats in the game?
#3
01/12/2002 (8:05 pm)
You can walk through volume fog, because it has a volume.
The fog you see in the game is just a layer. It is like a wall. You can be on the left or on the right side, but not in the fog.

greetings
Daniel
#4
01/15/2002 (7:06 pm)
yep, most hardware doesn't support volumetric fog. Only pc game I can remember that used it was quake 3, but they used a hack with alpha values and bsp stuff...

I think geforce3 is the (only?) card that will let it work though...

I'm not on top of all this stuff though...

Either way, fog is overrated!

When was the last time you walked through it?
#5
01/16/2002 (7:13 am)
You can walk through distance fog, which is supported by hardware. Volumetric fog is fog that fills a proscribed volume. You need it if you want to have less fog than 'Everywhere.' For example, fog that only reaches up to knee height or fog in one specific room.

True volumetric fog involves a raycast or a simulated raycast through the fog volume. Since that's computationally expensive, real volumetric fog is pretty rarely seen in interactive applications like games.

Adding volumetric fog to the Torque engine would probably up the system requirements quite a bit.

You can sort of fake volume fog in worldcraft, though. Try searching the net for 'Half-Life' and 'Volumetric fog' and you'll find at least a couple of tutorials on how to do this.