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);