r.DistanceFields.MaxPerMeshResolution
r.DistanceFields.MaxPerMeshResolution is a console variable in Unreal Engine 5 (UE5). See what r.DistanceFields.MaxPerMeshResolution does, its values, and how to use this cvar in the Unreal console below.
Category: Renderer · Namespace:
rHelp
Highest resolution (in one dimension) allowed for a single static mesh asset, used to cap the memory usage of meshes with a large scale. Changing this will cause all distance fields to be rebuilt. Large values such as 512 can consume memory very quickly! (64Mb for one asset at 512)
Usage
Unreal console (open with ~)
> r.DistanceFields.MaxPerMeshResolution 1Console variables take a value. Replace 1 with the setting you need. Run it with no value to print the current one.
Related in r
r.DistanceFields.Debug.ResizeAtlasEveryFrameVarr.DistanceFields.DefaultVoxelDensityVarr.DistanceFields.DefragmentIndirectionAtlasVarr.DistanceFields.LogAtlasStatsVarr.DistanceFields.MaxIndirectionAtlasSizeXYZVarr.DistanceFields.MaxObjectBoundingRadiusVarr.DistanceFields.MinIndirectionAtlasSizeXYZVarr.DistanceFields.ParallelUpdateVarr.DistanceFields.ReverseAtlasAllocationOrderVarr.DistanceFields.SupportEvenIfHardwareRayTracingSupportedVarr.DistanceFields.SurfaceBiasExpandVarr.DistanceFields.TextureUploadLimitKBytesVar