mirror of
				https://github.com/halpz/re3.git
				synced 2025-11-04 15:54:53 +00:00 
			
		
		
		
	another fix for new renderer
This commit is contained in:
		
							parent
							
								
									e3616c1ce1
								
							
						
					
					
						commit
						e8fe09cf23
					
				| 
						 | 
				
			
			@ -938,8 +938,7 @@ RenderScene_new(void)
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
// TODO
 | 
			
		||||
bool FredIsInFirstPersonCam(void) { return true; }	// this seems to give the best result in all cases
 | 
			
		||||
 | 
			
		||||
bool FredIsInFirstPersonCam(void) { return false; }
 | 
			
		||||
void
 | 
			
		||||
RenderEffects_new(void)
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			@ -959,10 +958,11 @@ if(gbRenderWorld2)
 | 
			
		|||
if(gbRenderVehicles)
 | 
			
		||||
		CRenderer::RenderVehicles();
 | 
			
		||||
	}else{
 | 
			
		||||
if(gbRenderVehicles)
 | 
			
		||||
		CRenderer::RenderVehicles();
 | 
			
		||||
		// flipped these two, seems to give the best result
 | 
			
		||||
if(gbRenderWorld2)
 | 
			
		||||
		CRenderer::RenderWorld(2);	// transparent
 | 
			
		||||
if(gbRenderVehicles)
 | 
			
		||||
		CRenderer::RenderVehicles();
 | 
			
		||||
	}
 | 
			
		||||
	// better render these after transparent world
 | 
			
		||||
if(gbRenderFadingInEntities)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue