Fps drop beim betrachten den Terrains.
Posted: Tue Mar 27, 2018 9:58 am
by TimLp
Hallo,
ich hätte ein kleines Problem, und zwar läuft eine map im giants Editor einwandfrei, sobald ich sie allerdings im Spiel öffne und dass Terrain betrachte sinken die Fps drastisch. Wenn ich einfach nur in den Himmel gucke habe ich die gewohnten 59/60 fps, je mehr dann vom Terrain ins Bild kommt, desto weniger fps habe ich. Die log hat bis auf "Static actor moved" nix. Hat irgendwer eine Idee was ich machen kann?
Hier mal der Code vom Terrain:
Vielen Dank im Voraus
TimLp
ich hätte ein kleines Problem, und zwar läuft eine map im giants Editor einwandfrei, sobald ich sie allerdings im Spiel öffne und dass Terrain betrachte sinken die Fps drastisch. Wenn ich einfach nur in den Himmel gucke habe ich die gewohnten 59/60 fps, je mehr dann vom Terrain ins Bild kommt, desto weniger fps habe ich. Die log hat bis auf "Static actor moved" nix. Hat irgendwer eine Idee was ich machen kann?
Hier mal der Code vom Terrain:
<TerrainTransformGroup name="terrain" static="true" collisionMask="1048575" objectMask="131071" nodeId="13435" heightMapId="440" globalLayerMapId="441" globalLayerWeight="0.05" patchSize="65" maxLODDistance="4800" heightScale="1500" unitsPerPixel="2.4" lodBlendStart="1500" lodBlendEnd="2000" lodTextureSize="1024" dynamicLodTexture="true" lodBlendStartDynamic="50" lodBlendEndDynamic="70"> <Layers> <Layer name="snowNatural" detailMapId="444" unitSize="19.2" weightMapId="442" distanceMapId="443" distanceMapUnitSize="153.6"/> <Layer name="rockCliff" detailMapId="447" unitSize="19.2" weightMapId="445" distanceMapId="446" distanceMapUnitSize="153.6"/> <Layer name="snowCoveredRock" detailMapId="450" unitSize="19.2" weightMapId="448" distanceMapId="449" distanceMapUnitSize="153.6"/> <Layer name="snowyAsphalt" detailMapId="453" unitSize="38.4" weightMapId="451" distanceMapId="452" distanceMapUnitSize="153.6"/> <Layer name="soil" detailMapId="456" unitSize="38.4" weightMapId="454" distanceMapId="455" distanceMapUnitSize="153.6"/> <InfoLayer name="slopeInfoLayer" fileId="457" numChannels="5"/> <InfoLayer name="pedestrianInfoLayer" fileId="458" numChannels="1"/> <InfoLayer name="snowingInfoLayer" fileId="459" numChannels="2"/> <FoliageMultiLayer densityMapId="460" numChannels="6" numTypeIndexChannels="0"> <FoliageSubLayer name="snow" numDensityMapChannels="6" materialId="13420" cellSize="8" viewDistance="85" terrainOffset="0" objectMask="65520" distanceMapIds="461" distanceMapUnitSizes="153.6" repeatLastDistanceMap="true" separateAvailabilityChannel="false" atlasSize="2" plantThreshold="0.5" numBlocksPerUnit="1.1" width="2.4" height="0.95" widthVariance="0.05" heightVariance="0.01" horizontalPositionVariance="0.3" growthNumStates="63" growthStateTime="9e+008" hasGrowthAtlas="false" showFirstGrowthState="true" blockShapeId="397" useShapeNormals="false" alignWithTerrain="true"/> <FoliageSubLayer name="snow" numDensityMapChannels="6" materialId="13420" cellSize="8" viewDistance="75" terrainOffset="0" objectMask="65520" distanceMapIds="461" distanceMapUnitSizes="153.6" repeatLastDistanceMap="true" separateAvailabilityChannel="false" atlasSize="2" plantThreshold="0.5" numBlocksPerUnit="1.1" width="2.4" height="0.95" widthVariance="0.05" heightVariance="0.01" horizontalPositionVariance="0.3" growthNumStates="63" growthStateTime="9e+008" hasGrowthAtlas="false" showFirstGrowthState="true" blockShapeId="397" useShapeNormals="false"/> </FoliageMultiLayer> <FoliageMultiLayer densityMapId="464" numChannels="1" numTypeIndexChannels="0"> <FoliageSubLayer name="snowyBushes" numDensityMapChannels="1" materialId="13417" cellSize="8" viewDistance="30" terrainOffset="0" objectMask="4294967280" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="0.4" width="1" height="0.8" widthVariance="0.5" heightVariance="0.5" horizontalPositionVariance="1.25" blockShapeId="399" useShapeNormals="true" alignWithTerrain="true"/> </FoliageMultiLayer> <DetailLayer name="terrainDetail" densityMapId="467" numDensityMapChannels="12" materialId="13426" densityMapShaderName="angles" combinedValuesNumChannels="4;4;4" useInterpolatedDensityMap="false" cellSize="8" viewDistance="78" terrainOffset="0.04" objectMask="65520" distanceMapIds=";;;468;468;468;468;468;468;468;468;468;468;468;468;468" distanceMapUnitSizes=";;;153.6;153.6;153.6;153.6;153.6;153.6;153.6;153.6;153.6;153.6;153.6;153.6;153.6" distanceMapFirstChannel="4" distanceMapNumChannels="4"/> </Layers> </TerrainTransformGroup> | ||
TimLp