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:
parent
e3616c1ce1
commit
e8fe09cf23
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue