1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2025-01-12 21:05:27 +00:00

another fix for new renderer

This commit is contained in:
aap 2020-12-13 23:09:19 +01:00
parent e3616c1ce1
commit e8fe09cf23

View file

@ -938,8 +938,7 @@ RenderScene_new(void)
} }
// TODO // TODO
bool FredIsInFirstPersonCam(void) { return true; } // this seems to give the best result in all cases bool FredIsInFirstPersonCam(void) { return false; }
void void
RenderEffects_new(void) RenderEffects_new(void)
{ {
@ -959,10 +958,11 @@ if(gbRenderWorld2)
if(gbRenderVehicles) if(gbRenderVehicles)
CRenderer::RenderVehicles(); CRenderer::RenderVehicles();
}else{ }else{
if(gbRenderVehicles) // flipped these two, seems to give the best result
CRenderer::RenderVehicles();
if(gbRenderWorld2) if(gbRenderWorld2)
CRenderer::RenderWorld(2); // transparent CRenderer::RenderWorld(2); // transparent
if(gbRenderVehicles)
CRenderer::RenderVehicles();
} }
// better render these after transparent world // better render these after transparent world
if(gbRenderFadingInEntities) if(gbRenderFadingInEntities)