1
0
mirror of https://github.com/td512/re3.git synced 2026-03-09 18:11:28 +00:00

mobile vehicle rendering

This commit is contained in:
aap
2021-01-12 13:41:22 +01:00
parent 8888ee3974
commit 9b2037419f
18 changed files with 789 additions and 37 deletions

View File

@@ -1816,7 +1816,8 @@ CRenderer::GenerateEnvironmentMap(void)
RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, (void*)TRUE);
// Draw coronas
DrawEnvMapCoronas(TheCamera.GetForward().Heading());
if(CustomPipes::VehiclePipeSwitch != CustomPipes::VEHICLEPIPE_MOBILE)
DrawEnvMapCoronas(TheCamera.GetForward().Heading());
RwCameraEndUpdate(CustomPipes::EnvMapCam);