Docs

Reference

Console variables

Every SkinMark console variable with its default: spawn, upload and wash budgets, worker threads, morphs and test switches.

All are optional; defaults are tuned. Set them in DefaultEngine.ini under [SystemSettings] or in the console.

Game settings#

Variable Default Meaning
SkinMark.Rain 0 Global rain 0..1.
SkinMark.SpawnBudgetMs 2 Game-thread ms per frame for building new marks (all characters). 0 = build at once.
SkinMark.UploadBudgetMs 0.5 ms per frame for adding finished marks to the GPU mesh. 0 = no limit.
SkinMark.WashBudgetMs 0.6 ms per frame for rain and water wash. 0 = no limit.
SkinMark.DeferHit 1 Find the skin in the budgeted queue, not inside the call.
SkinMark.AsyncMinSize 30 Marks at least this big (cm) build on a worker thread. 0 = game thread only.
SkinMark.AsyncMaxJobs 8 Worker builds in flight. 0 = game thread only.
SkinMark.LazyLODs 1 Build the LOD the character draws first, other LODs later.
SkinMark.AppendPatches 1 Add and cut marks in place instead of rebuilding the character's decal mesh.
SkinMark.NewSectionAppend 1 A new material adds a section instead of a full rebuild.
SkinMark.FastGather 1 Gather only triangles near the hit (cached per mesh).
SkinMark.SlotFast 1 Material slots of a character share one bone array per frame. 0 = one each.
SkinMark.Morphs 1 0 = marks ignore morph targets.

Test and profiling switches#

Not needed in a game.

Variable Default Meaning
SkinMark.MorphForceGPU 0 Use the GPU morph read-back even where CPU data exists. Set at startup.
SkinMark.MorphFullUpload 0 Re-send every mark vertex each frame.
SkinMark.MorphRecord 1 0 = restored and replicated marks use the live morph weights instead of the stored ones.
SkinMark.TestNoRenderData 0 1 = act like a cooked dedicated server (set it on the server only).
SkinMark.VerifyGather 0 Run both gathers and log differences.
SkinMark.Prof 0 Log tick-stage timings every 30 frames.

Set SpawnBudgetMs and UploadBudgetMs to 0 to show every mark in its hit frame (costs more on frames with many hits).

SkinMark.MorphForceGPU must be set at startup, for example on the command line with -ini:Engine:[SystemSettings]:SkinMark.MorphForceGPU=1. A later console command is too late.