miami shadows

This commit is contained in:
Fire-Head 2020-07-29 12:17:53 +03:00
commit 1803dcc873
19 changed files with 2174 additions and 264 deletions

View file

@ -2505,8 +2505,12 @@ CAutomobile::PreRender(void)
// end of lights
}
//TODO(MIAMI): StoreShadowForVehicle once we have it
CShadows::StoreShadowForCar(this);
if (IsRealHeli())
CShadows::StoreShadowForVehicle(this, VEH_SHD_TYPE_HELI);
else if ( GetModelIndex() == MI_RCBARON)
CShadows::StoreShadowForVehicle(this, VEH_SHD_TYPE_RCPLANE);
else
CShadows::StoreShadowForVehicle(this, VEH_SHD_TYPE_CAR);
DoSunGlare();