Change default LightmapSampleDistance value to match the default value in UDB
This commit is contained in:
parent
4d934ab310
commit
9cd2f7530d
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue