Unreal render commands

From OrionUE/Orion_FreeEdition · View interactive version

Unreal render commands is an AI agent skill from the GitHub repository OrionUE/Orion_FreeEdition. Lookup Unreal Engine rendering console variables and commands, currently backed by a UE 5.8 source-derived inventory. Use for renderer CVars, console commands, RendererSettings, DefaultScalability, platform rendering flags, runtime-editable flags, startup-only flags, and feature areas such as Lumen,

How to use this skill

Skill file

Unreal Render Commands

Use this Skill to answer questions about Unreal Engine rendering console commands and CVars from the bundled CSV inventory. The current inventory baseline is UE 5.8; do not encode the engine minor version in the Skill name.

Workflow

  1. Start with references/render-command-tables/table_index.csv to choose the smallest table that matches the request.
  2. If the user names a command or prefix, search references/render-command-tables/all_render_commands.csv or the matching by_prefix/*.csv.
  3. If the user names a rendering feature, read the matching by_feature/*.csv.
  4. If the user asks where a command can be configured, read config/renderer_settings.csv and config/scalability.csv.
  5. If the user asks whether a command works after startup, read lifecycle/runtime_editable.csv or lifecycle/startup_only.csv.
  6. If the user asks about platform support, read by_platform/*.csv.
  7. If the user asks to apply, benchmark, or choose project-suitable commands, read references/render-command-experiments/README.md and start from experiment_plan_all.csv.
  8. When preserving ray tracing for a reset-to-baseline experiment, also preserve Skin Cache dependencies such as r.SkinCache.CompileShaders, r.SkinCache.Allow, and project SkinCache mode settings; otherwise UE can fatal before FPS capture.
  9. For automated benchmark runs, start CSV profiler with -csvCaptureFrames; -csvExecCmds only dispatches commands while CSV capture is active.
  10. Prefer same-process paired A/B runs for recommendations: capture baseline, apply one command, capture test, then compare those two FPSChart windows.
  11. For repeated runtime A/B batches, use scripts/run_render_ab_tests.ps1 -TestCsv <csv> with a metadata CSV such as references/render-command-experiments/runtime_ab_batch_next.csv; the script appends each completed command immediately to experiment_results.csv and current_project_candidates.csv so a later timeout does not lose prior rows.
  12. Timed-out commands should be recorded in experiment_results.csv with comparison_method=paired_ab_timeout_no_fpschart and retested in isolation before adoption; r.SSS.HalfRes=1 timed out in the current <BenchmarkMap> baseline run.
  13. Runtime A/B input CSVs must include explicit command and value columns. Do not pass experiment plan/result tables directly; missing or empty value means the script would issue <command>= and the result must be treated as invalid/retest-required.
  14. After a timeout, rebuild runtime_ab_batch_next.csv from only the unexecuted rows before resuming. Remove the timed-out row and all completed rows; otherwise a previously completed command can be rerun and produce a misleading duplicate timeout.
  15. Once two FPSChart windows are captured, stop waiting for full UE process exit. UE can remain alive during shutdown/DDC maintenance after Quit; treat the captured FPSChart pair as valid and force-close the process if needed.
  16. If a launch crashes before the first FPSChart, record comparison_method=launch_crash_no_fpschart, reject adoption for that command/value, and keep the launch log path in notes.
  17. If repeated launches fail before FPSChart with D3D12 adapter/device errors, check nvidia-smi. Near-full VRAM is an environment invalidation; record comparison_method=launch_failed_before_fpschart_environment_invalid, keep the row for later retest, and do not treat it as CVar evidence.
  18. When editing Markdown skill docs from PowerShell, do not put Markdown code spans containing paths such as references/... inside double-quoted strings. Use single-quoted here-strings or patch tools; otherwise PowerShell can interpret sequences like ` r`` as carriage returns and corrupt paths.
  19. If nvidia-smi shows the RTX GPU is present but UE logs only Microsoft Basic Render Driver plus D3D12CreateDevice 0x8007000E, stop runtime sweeps and move affected rows to environment_invalid_retest_queue.csv; retest only after D3D12 adapter availability is restored, because the CVar has not been applied yet.
  20. If a no-op control such as r.ScreenPercentage=100 shows material second-window gain, mark adjacent same-process rows paired_ab_same_process_warmup_biased, move them to warmup_biased_retest_queue.csv, and exclude them from recommendations until retested with a stronger warmup/control protocol.
  21. If true no-op controls such as r.VSync=0 produce material drift (for example beyond +/-2%), stop adopting single-launch A/B results from that protocol and keep affected rows in retest queues until an A/A/B or repeated-runs protocol is implemented.
  22. When generating PowerShell scripts, never globally replace the text sequence \t with a Tab after writing Windows paths; path segments such as \ThirdParty contain \t and will be corrupted. Use real Tab indentation only in code templates or replace a safer placeholder such as __TAB__.
  23. On <BenchmarkMap>, same-process A/A/B controls with r.VSync=0 still drifted about -4.5% between A1 and A2 even with late windows. Do not use same-process single-launch windows for new adoption decisions until a multi-process repeated-pair or randomized protocol is implemented and validated.
  24. For the multi-process protocol, use scripts/run_render_repeated_pair_tests.ps1; validate it first with a true no-op control such as runtime_ab_control_vsync_noop.csv, then retest warmup_biased_retest_queue.csv only if the no-op median delta stays within the chosen threshold.
  25. Repeated-pair results with pair-delta spread above PairSpreadThresholdPercent are high variance, not candidates. Mark them invalid_retest_required_repeated_pair_high_variance and place them in repeated_pair_high_variance_retest_queue.csv for more pairs or an alternate map.

Table Guide

Read references/render-command-tables.zh-CN.md for the Chinese lookup guide and table naming rules.

Primary tables:

Experiment tables:

CSV Fields

路由

RendererSettings migration audit

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.