Volumetric fog.
by AllynMcelrath · in Torque Game Engine · 05/30/2006 (7:17 am) · 6 replies
AKA: Storm fog.
Does anyone have any documentation on how to use this?
I can get the fog in my mission, but it seems that Setting the fog color dosnt work, it just uses the distance fog color.
I just need to know if this is a bug, or if I am doing something wrong. Any documentation is welcome.
Does anyone have any documentation on how to use this?
I can get the fog in my mission, but it seems that Setting the fog color dosnt work, it just uses the distance fog color.
I just need to know if this is a bug, or if I am doing something wrong. Any documentation is welcome.
#3
So, is this broken in 1.4?
06/19/2006 (11:04 am)
It says in the programmers guide that this does work, or at least it seems to imply that it does, as it lists it as possible things to change in the "Fog" section. Its not referring to distance fog either.. its talking about the Storm fog.So, is this broken in 1.4?
#4
06/20/2006 (8:03 am)
I can change the colour of the fog - 1.4
#5
To see the bug by yourself, type this on the console:
Now go and change your stormFog colors and mess around for a while.
As a brief description, long, long time ago, someone started working on multi-colored fog layers, and went as far as implement it on the terrain with a few bugs (odd colors between each layer), but never really finished implementing it on interiors and TSShapes.
While it should be straightforward to get it working for TSShapes (since the whole shape samples a single color from the fog they are in), I think it would be very, very hard to get working on interiors, due to the way they render fog.
06/20/2006 (1:30 pm)
It never worked.To see the bug by yourself, type this on the console:
$specialFog = true;
Now go and change your stormFog colors and mess around for a while.
As a brief description, long, long time ago, someone started working on multi-colored fog layers, and went as far as implement it on the terrain with a few bugs (odd colors between each layer), but never really finished implementing it on interiors and TSShapes.
While it should be straightforward to get it working for TSShapes (since the whole shape samples a single color from the fog they are in), I think it would be very, very hard to get working on interiors, due to the way they render fog.
#6
07/01/2006 (1:35 am)
Even when I do that, I can still get up to 3 different fog colours which happily wrap around interiors and tsshapes
Torque Owner Paul /*Wedge*/ DElia