fix: SpeedTree fog fix

This commit is contained in:
rtw1x1
2026-02-19 18:51:43 +00:00
parent 7ef5077b97
commit 3f8a664c2c
5 changed files with 16 additions and 5 deletions

View File

@@ -240,10 +240,6 @@ void CMapOutdoor::OnBeginEnvironment()
return;
CSpeedTreeForestDirectX& rkForest=CSpeedTreeForestDirectX::Instance();
rkForest.SetFog(
mc_pEnvironmentData->GetFogNearDistance(),
mc_pEnvironmentData->GetFogFarDistance()
);
const D3DLIGHT9& c_rkLight = mc_pEnvironmentData->DirLights[ENV_DIRLIGHT_CHARACTER];
rkForest.SetLight(