Problems with colored fog
by Alan "Nefilim" Schwertel · in Artist Corner · 12/31/2001 (10:56 am) · 10 replies
Whenever i try to make Colored fog, the terrain does something strange, best way to describe it with a screenshot, so here:

Notice the fog is red, and the terain turns blue in the distance, making hills seemingly appear out of nowhere.

Notice the fog is red, and the terain turns blue in the distance, making hills seemingly appear out of nowhere.
#2

12/31/2001 (2:32 pm)
Well, any COLORED fog does it for me, seems the terrain is the opposite color as the fog.
#4
12/31/2001 (2:35 pm)
vgx drax
#5
12/31/2001 (3:58 pm)
Dont spam my thread you two! :p I get an email every reply...
#6
01/01/2002 (10:34 am)
You guys figure out what's causing this?
#7
01/01/2002 (11:16 am)
nope, no idea still.
#8
its weird... couldnt fix it btw...
it happened with every color to me too
01/01/2002 (11:43 am)
i experienced the same problem some time ago...its weird... couldnt fix it btw...
it happened with every color to me too
#9
Anyway, fixed and checked in. The only affected file was engine/core/color.h (the one function mentioned ubove), so you can just update (or diff) that one file if you don't want to update everything.
01/01/2002 (5:53 pm)
This turned out to be a problem with converting colors into int values in ColorI::getRGBEndian(), and would only have affected multi-pass fog texturing. I think this problem was introduced during the Mac port...Anyway, fixed and checked in. The only affected file was engine/core/color.h (the one function mentioned ubove), so you can just update (or diff) that one file if you don't want to update everything.
#10
01/01/2002 (10:16 pm)
Thanks =)
Associate Tim Newell
Max Gaming Technologies
trippy
but it only seems to happen with red fog. All of the other colors I tried seemed to work fine.
-Tim aka Spock