Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » Fog Error?
Fog Error? [message #485938] Mon, 10 February 2014 12:38 Go to next message
Mauler
Messages: 448
Registered: May 2003
Location: Alberta, Canada
Karma: 0
Commander
I'm not sure but I think this is an issue...

The fog no longer moves with the player.. I will let the video demonstrate the problem..

http://www.youtube.com/watch?v=VgEjDALvfGg

Any ideas?
Re: Fog Error? [message #485957 is a reply to message #485938] Mon, 10 February 2014 22:22 Go to previous messageGo to next message
saberhawk
Messages: 1068
Registered: January 2006
Location: ::1
Karma: 0
General (1 Star)
Mauler wrote on Mon, 10 February 2014 11:38

I'm not sure but I think this is an issue...

The fog no longer moves with the player.. I will let the video demonstrate the problem..

http://www.youtube.com/watch?v=VgEjDALvfGg

Any ideas?


In 4.1 (and below), fog is handled by saying "Hey Direct3D9, fog goes from X to Y distance and is this color". There is no control for a "fog location", it's *always* based off distance to the viewer.

However, I do remember adding in a "floor" to the skybox. You may be seeing that instead if the terrain is becoming transparent. It's always the fog color.
Re: Fog Error? [message #485970 is a reply to message #485957] Tue, 11 February 2014 13:30 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3805
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Mauler wrote on Mon, 10 February 2014 12:38

I'm not sure but I think this is an issue...

The fog no longer moves with the player.. I will let the video demonstrate the problem..

http://www.youtube.com/watch?v=VgEjDALvfGg

Any ideas?

I think what your seeing is caused by the size of the vertices in your terrain, try increasing the poly count and see if it goes away, in Renegade the fog is shaded across polies depending on your distance from the center of them, so if the center of the poly below you is greater than the start distance of the fog away from you it will get the fog shader applied (Probably actually done by the edges of each poly but w/e).

saberhawk wrote on Mon, 10 February 2014 22:22


However, I do remember adding in a "floor" to the skybox.

Thank god, no more stupid sky color below you were the sky box ends.


Re: Fog Error? [message #485984 is a reply to message #485938] Tue, 11 February 2014 15:20 Go to previous messageGo to next message
Mauler
Messages: 448
Registered: May 2003
Location: Alberta, Canada
Karma: 0
Commander
Yeah it most likely the way the polys where extended that made the fog react that way

http://i.imgur.com/F1aoyS9.jpg

[Updated on: Tue, 11 February 2014 15:20]

Report message to a moderator

Re: Fog Error? [message #486095 is a reply to message #485984] Fri, 14 February 2014 11:42 Go to previous message
Jerad2142 is currently offline  Jerad2142
Messages: 3805
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Mauler wrote on Tue, 11 February 2014 15:20

Yeah it most likely the way the polys where extended that made the fog react that way

http://i.imgur.com/F1aoyS9.jpg

Yep that'd be it, needs more polys on that final chuck (if you want to do it the lazy way use the mesh select modifier, and apply tessellation to that big block with a 0.0 tension, will waste more polys than doing it by hand however).


Previous Topic: Updating removes skins???????
Next Topic: Map errors with 4.1
Goto Forum:
  


Current Time: Fri Apr 19 08:25:22 MST 2024

Total time taken to generate the page: 0.01074 seconds