Change default LightmapSampleDistance value to match the default value in UDB

This commit is contained in:
nashmuhandes 2024-10-02 00:54:19 +08:00
commit 9cd2f7530d
2 changed files with 2 additions and 2 deletions

View file

@ -175,7 +175,7 @@ public:
int LMTextureSize = 1024;
TArray<uint16_t> LMTextureData;
uint16_t LightmapSampleDistance = 16;
uint16_t LightmapSampleDistance = 8;
TArray<LightmapTile> LightmapTiles;
bool LMAtlasPacked = false; // Tile sizes can't be changed anymore

View file

@ -3210,7 +3210,7 @@ void MapLoader::LoadLevel(MapData *map, const char *lumpname, int position)
// Reset defaults for lightmapping
Level->SunColor = FVector3(1.f, 1.f, 1.f);
Level->SunDirection = FVector3(0.45f, 0.3f, 0.9f);
Level->LightmapSampleDistance = 16;
Level->LightmapSampleDistance = 8;
Level->lightmaps = false;
// note: most of this ordering is important