Don't use ESM4::Lighting fog power as fog density

This commit is contained in:
Alexei Dobrohotov 2023-02-27 05:50:58 +03:00
parent 331d207d3e
commit 540fa00f12
2 changed files with 6 additions and 3 deletions

View file

@ -24,7 +24,8 @@ namespace MWWorld
.mAmbiantColor = cell.mLighting.ambient,
.mDirectionalColor = cell.mLighting.directional,
.mFogColor = cell.mLighting.fogColor,
.mFogDensity = cell.mLighting.fogPower,}
// TODO: use ESM4::Lighting fog parameters
.mFogDensity = 1.f,}
,mWaterHeight(cell.mWaterHeight)
{
}