Fixed reload map. Increased distance field atlas and texture pool.

This commit is contained in:
Axel1092 2020-04-22 14:52:51 +02:00 committed by bernat
parent ff97d65cc0
commit 269344a3ec
2 changed files with 4 additions and 1 deletions

View File

@ -26,11 +26,13 @@ r.DefaultFeature.AmbientOcclusion=False
r.DefaultFeature.AmbientOcclusionStaticFraction=False
r.DefaultFeature.AutoExposure=False
r.CustomDepth=3
r.Streaming.PoolSize=2000
r.Streaming.PoolSize=4000
r.TextureStreaming=True
r.GenerateMeshDistanceFields=True
r.DistanceFieldBuild.EightBit=False
r.DistanceFieldBuild.Compress=False
r.DistanceFields.AtlasSizeXY=1024
r.DistanceFields.AtlasSizeZ=2048
[/Script/AIModule.AISense_Sight]
bAutoRegisterAllPawnsAsSources=False

View File

@ -229,6 +229,7 @@ void FCarlaServer::FPimpl::BindActions()
{
REQUIRE_CARLA_EPISODE();
FString MapName = cr::ToFString(map_name);
MapName = MapName.IsEmpty() ? Episode->GetMapName() : MapName;
auto Maps = UCarlaStatics::GetAllMapNames();
bool bMissingMap = true;
for (auto & Map : Maps)