| 
		
 | 
	
		
		
			| Re: Fog Error? [message #485957 is a reply to message #485938] | 
			Mon, 10 February 2014 22:22    | 
		 
		
			
				
				
				  | 
					
						
						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.
		
		
		
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 |