mobile vehicle rendering

This commit is contained in:
aap committed 2021-01-12 13:41:29 +01:00
1 parent 8888ee3974
commit 9b2037419f
18 files changed
+789 -37

No files matched your search

+2 -1
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);